Sha256: 077a57fbdd9c66fe478bb4a9a947f9dbcb72e935a2ae78246f96e8d3dd2115d3

Contents?: true

Size: 772 Bytes

Versions: 1

Compression:

Stored size: 772 Bytes

Contents

<%% title t('log_in_title') %>

<p><%%= t('sign_up_message', :url => signup_path) %></p>

<%- if options[:authlogic] -%>
<%% semantic_form_for @<%= session_singular_name %> do |f| %>
  <%= f.error_message_on :base %>
  
  <%% f.inputs do %>
    <%%= f.input :username %>
    <%%= f.input :password %>
  <%% end %>

  <%% f.buttons do %>
    <%%= f.commit_button t('log_in_button') %>
  <%% end %>

<%% end %>
<%- else -%>
<%% form_tag <%= session_plural_name %>_path do %>
  <p>
    <%%= label_tag :login, t('login_label') %><br />
    <%%= text_field_tag :login, params[:login] %>
  </p>
  <p>
    <%%= label_tag :password, t('password_label') %><br />
    <%%= password_field_tag :password %>
  </p>
  <p><%%= submit_tag t('log_in_button') %></p>
<%% end %>
<%- end -%>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
splendeo-generators-0.2.1 rails_generators/splendeo_authentication/templates/views/erb/login.html.erb