Sha256: ea3d74491674df2c754f9e57557e6f2d2c3e82b5dad6129babbf1eb9a826d57d

Contents?: true

Size: 800 Bytes

Versions: 6

Compression:

Stored size: 800 Bytes

Contents

<h1><%= t 'janus.sessions.new.sign_in' %></h1>

<%= form_for @admin, :url => admin_session_path, :method => :post do |f| %>
  <%= hidden_field_tag :return_to, params[:return_to] if params[:return_to] %>

  <%= janus_error_messages %>

  <% Admin.authentication_keys.each do |key| %>
    <div class="field">
      <%= f.label key %>
      <%= f.text_field key %>
    </div>
  <% end %>

  <div class="field">
    <%= f.label :password %>
    <%= f.password_field :password %>
  </div>

  <% if @admin.respond_to?(:remember_me!) %>
    <div class="field">
      <%= check_box_tag :remember_me, '1' %>
      <%= label_tag :remember_me, Admin.human_attribute_name(:remember_me) %>
    </div>
  <% end %>

  <div class="actions">
    <%= f.submit t('janus.sessions.new.sign_in_btn') %>
  </div>
<% end %>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
janus-0.10.1 test/rails_app/app/views/admins/sessions/new.html.erb
janus-0.10.0 test/rails_app/app/views/admins/sessions/new.html.erb
janus-0.9.1 test/rails_app/app/views/admins/sessions/new.html.erb
janus-0.9.0 test/rails_app/app/views/admins/sessions/new.html.erb
janus-0.8.1 test/rails_app/app/views/admins/sessions/new.html.erb
janus-0.8.0 test/rails_app/app/views/admins/sessions/new.html.erb