Sha256: d3375f2e2012144c8c738deeff912c3720629c36d4373aca77dafee91416bf4a
Contents?: true
Size: 807 Bytes
Versions: 10
Compression:
Stored size: 807 Bytes
Contents
<div class="col-md-4 col-md-offset-4"> <%= form_for(resource, as: resource_name, url: session_path(resource_name)) do |f| %> <div class="field"> <%= f.label :username %><br /> <%= f.text_field :username, autofocus: true, :class => "form-control" %> </div> <div class="field"> <%= f.label :password %><br /> <%= f.password_field :password, autocomplete: "off", :class => "form-control" %> </div> <% if devise_mapping.rememberable? -%> <div class="checkbox"> <label> <%= f.check_box :remember_me %> <%=t "activerecord.attributes.user.remember_me" %> </label> </div> <% end -%> <div class="actions"> <%= f.submit t("devise.sessions.new.sign_in"), :class => "btn btn-warning" %> <%= render "devise/shared/links" %> </div> <% end %> </div>
Version data entries
10 entries across 10 versions & 2 rubygems