Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

31 lines (28 sloc) 0.856 kB
<%% title "Log in" %>
<p>Don't have an account? <%%= link_to "Sign up!", signup_path %></p>
<%- if options[:authlogic] -%>
<%%= form_for @<%= session_singular_name %> do |f| %>
<%%= f.error_messages %>
<div class="field">
<%%= f.label :username %>
<%%= f.text_field :username %>
</div>
<div class="field">
<%%= f.label :password %>
<%%= f.password_field :password %>
</div>
<div class="actions"><%%= f.submit "Log in" %></div>
<%% end %>
<%- else -%>
<%%= form_tag <%= session_plural_name %>_path do %>
<div class="field">
<%%= label_tag :login, "Username or Email Address" %>
<%%= text_field_tag :login, params[:login] %>
</div>
<div class="field">
<%%= label_tag :password %>
<%%= password_field_tag :password %>
</div>
<div class="actions"><%%= submit_tag "Log in" %></div>
<%% end %>
<%- end -%>
Jump to Line
Something went wrong with that request. Please try again.