Skip to content
Extraits de code Groupes Projets
Valider 5ae4248b rédigé par MrZYX's avatar MrZYX Validation de Jonne Hass
Parcourir les fichiers

some more fixes I overlooked. Sorry

parent f55a9736
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -30,4 +30,4 @@
%div{:data => {:role => 'fieldcontain'}}
= form_tag(people_path, :method => 'get') do
= text_field_tag 'q', nil, :placeholder => t('.search'), :type => 'search'
= text_field_tag 'q', nil, :placeholder => t('search'), :type => 'search'
%h2
Edit #{resource_name.to_s.humanize}
= t('.edit', :name => resource_name.to_s.humanize)
= form_for(resource, :as => resource_name, :url => registration_path(resource_name), :html => { :method => :put }) do |f|
= devise_error_messages!
%p
......@@ -8,7 +8,7 @@
= f.text_field :email
%p
= f.label :password
%i (leave blank if you don't want to change it)
%i = t('.leave_blank')
%br/
= f.password_field :password
%p
......@@ -17,12 +17,12 @@
= f.password_field :password_confirmation
%p
= f.label :current_password
%i (we need your current password to confirm your changes)
%i = t('.password_to_confirm')
%br/
= f.password_field :current_password
%p
= f.submit t('.update')
%h3 t('.cancel_my_account')
%p
Unhappy? #{link_to t('.cancel_my_account'), registration_path(resource_name), :confirm => t('are_you_sure'), :method => :delete}.
= t('.unhappy') #{link_to t('.cancel_my_account'), registration_path(resource_name), :confirm => t('are_you_sure'), :method => :delete}.
= link_to t('.back'), :back
......@@ -218,6 +218,14 @@ en:
sign_up_for_diaspora: "Sign up for Diaspora"
create:
success: "You've joined Diaspora!"
edit:
edit: "Edit %{name}"
leave_blank: "(leave blank if you don't want to change it)"
password_to_confirm: "(we need your current password to confirm your changes)"
unhappy: "Unhappy?"
back: "Back"
update: "Update"
cancel_my_account: "Cancel my account"
invitations:
create:
sent: "Your invitation has been sent."
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter