Sha256: 1af45a74d2cfd8b6970a28279fd1ab3e404f329ed1d063f91dd2c88557e5a7a7
Contents?: true
Size: 1.06 KB
Versions: 20
Compression:
Stored size: 1.06 KB
Contents
<div class="authform"> <%= form_for(resource, :as => resource_name, :url => session_path(resource_name), :html => { :role => 'form'}) do |f| %> <h3>Sign in</h3> <%= devise_error_messages! %> <div class="form-group"> <%- if devise_mapping.registerable? %> <%= link_to 'Sign up', new_registration_path(resource_name), class: 'right' %> <% end -%> <%= f.label :email %> <%= f.email_field :email, :autofocus => true, class: 'form-control' %> </div> <div class="form-group"> <%- if devise_mapping.recoverable? %> <%= link_to "Forgot password?", new_password_path(resource_name), class: 'right' %> <% end -%> <%= f.label :password %> <%= f.password_field :password, class: 'form-control' %> </div> <%= f.submit 'Sign in', :class => 'button right' %> <% if devise_mapping.rememberable? -%> <div class="checkbox" style="width:150px"> <label> <%= f.check_box :remember_me %> Remember me </label> </div> <% end -%> <% end %> </div>
Version data entries
20 entries across 20 versions & 1 rubygems