Sha256: 073c07dfa1b7f02b43fa8248a485db3ef117e6096be384383bfdc39040c7c964

Contents?: true

Size: 811 Bytes

Versions: 2

Compression:

Stored size: 811 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 = 'user_new' %>
    <%= 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

2 entries across 2 versions & 1 rubygems

Version Path
contour-0.4.0 app/views/contour/passwords/new.html.erb
contour-0.3.2 app/views/contour/passwords/new.html.erb