forgot_password.rhtml 690 Bytes
<h1><%= _('Forgot your password?') %></h1>

<%= error_messages_for :change_password, :header_message => _('Instructions to password recovery could not be sent'), :message => nil %>

<% labelled_form_for :change_password, @change_password, :url => { :action => 'forgot_password' } do |f| %>

  <%= labelled_form_field(_('Field'), f.select(:field, @change_password.fields_choice)) %>
  <%= f.text_field :value %>

<div>
  <% button_bar do %>
    <%= submit_button('send', _('Send instructions')) %>
  <% end %>
</div>
<%= content_tag(:small,_('After clicking the button above, you will receive an email with a link to a page where you will be able to create a new password.')) %>

<% end %>