Sha256: bfd60a3fad86e092dc30454450c618c6afbcd28ac239af34356db783c1eccbaf
Contents?: true
Size: 851 Bytes
Versions: 6
Compression:
Stored size: 851 Bytes
Contents
<h1><%= t 'janus.sessions.new.sign_in' %></h1> <%= form_for resource, :as => resource_name, :url => session_path(janus_scope), :method => :post do |f| %> <%= hidden_field_tag :return_to, params[:return_to] if params[:return_to] %> <%= janus_error_messages %> <% resource_class.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 resource.respond_to?(:remember_me!) %> <div class="field"> <%= check_box_tag :remember_me, '1' %> <%= label_tag :remember_me, resource_class.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