Sha256: 391dd38b079ac83e7d8b7d492417dc0cc082f5976854cd7333d19829064cf26f

Contents?: true

Size: 840 Bytes

Versions: 6

Compression:

Stored size: 840 Bytes

Contents

<% @title = 'Forgot your password?' %>

<%= form_for(resource, :as => resource_name, :url => password_path(resource_name), :html => { :method => :post }) do |f| %>
  <%= devise_error_messages! %>
  <fieldset style="width:235px">
    <legend><%= @title %></legend>
    
    <div class="field">
      <%= f.label :email %><br />
      <%= f.text_field :email %>
    </div>
  </fieldset>
  <div class="actions">
    <% form_name = "new_#{resource.class.name.underscore}" %>
    <%= link_to_function image_tag('contour/tick.png', :alt => '') + "Send me reset password instructions", "$('##{form_name}').submit();", :class => "button positive" %>
    <div style="clear:both"></div><br />
    <%= link_to "Login here!", new_session_path(resource_name) %> or <%= link_to "Register here!", new_registration_path(resource_name) %>
  </div>
<% end %>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
contour-0.9.2 app/views/contour/passwords/new.html.erb
contour-0.9.1 app/views/contour/passwords/new.html.erb
contour-0.9.0 app/views/contour/passwords/new.html.erb
contour-0.8.4 app/views/contour/passwords/new.html.erb
contour-0.8.3 app/views/contour/passwords/new.html.erb
contour-0.8.2 app/views/contour/passwords/new.html.erb