Sha256: 35451e1b9b96b9eb0b1cfc739e52073aea7ba38dda6ed2b287ac7afb3099a286

Contents?: true

Size: 1.44 KB

Versions: 6

Compression:

Stored size: 1.44 KB

Contents

<% @title = 'Login' %>

<table class="blank padded">
  <tr>
    <td style="vertical-align:top">
      <%= form_for(resource, :as => resource_name, :url => session_path(resource_name)) do |f| %>
        <fieldset style="width:235px">
          <legend><%= @title %></legend>
    
          <div class="field">
            <%= f.label :email %><br />
            <%= f.text_field :email %>
          </div>
          <div class="field">
            <%= f.label :password %><br />
            <%= f.password_field :password %>
          </div>
        </fieldset>
        <div class="actions">
          <% form_name = "new_#{resource.class.name.underscore}" %>
          <%= link_to_function image_tag('contour/tick.png', :alt => '') + "Login", "$('##{form_name}').submit();", :class => "button positive" %>
          <% if devise_mapping.rememberable? -%>
            <div style="padding-top:5px;padding-bottom:4px;"><%= f.check_box :remember_me %> <%= f.label :remember_me %></div>
          <% end -%>
          <% if devise_mapping.recoverable? && controller_name != 'passwords' %>
            <div style="clear:both"></div><br />
            <%= link_to "Forgot your password?", new_password_path(resource_name) %> or <%= link_to "Register here!", new_registration_path(resource_name) %>
          <% end %>
        </div>
      <% end %>
    </td>
    <td style="vertical-align:top">
      <%= render :partial => 'contour/layouts/latest_news' %>
    </td>
  </tr>
</table>

Version data entries

6 entries across 6 versions & 1 rubygems

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