Sha256: 776cf620ca53f047a6ddd596191dba85d8de7993c19ee15cc15e50d11f3da30e
Contents?: true
Size: 1.02 KB
Versions: 8
Compression:
Stored size: 1.02 KB
Contents
<div class="page-header"> <h1>Sign in</h1> </div> <%= form_for(resource, :as => resource_name, :url => session_path(resource_name), :html => { :class => 'form-horizontal' }) do |f| %> <div class="control-group"> <%= f.label :username, :class => 'control-label' %> <div class="controls"> <%= f.text_field :username, :autofocus => true %> </div> </div> <div class="control-group"> <%= f.label :password, :class => 'control-label' %> <div class="controls"> <%= f.password_field :password %> </div> </div> <% if devise_mapping.rememberable? -%> <div class="control-group"> <%= f.label :remember_me, :class => 'control-label' %> <div class="controls"> <%= f.check_box :remember_me %> </div> </div> <% end -%> <div class="form-actions"> <%= f.submit "Sign in", :class => 'btn btn-primary' %> <%= link_to t('.cancel', :default => t("helpers.links.cancel")), :back, :class => 'btn' %> </div> <% end %> <%= render "devise/shared/links" %>
Version data entries
8 entries across 8 versions & 1 rubygems