Sha256: 70be1f554fd082c119aac8b39ca6068533792ef57d2b27d9130b36dc8d5bc01f
Contents?: true
Size: 1.97 KB
Versions: 1
Compression:
Stored size: 1.97 KB
Contents
<div class="grid-x grid-margin-x"> <div class="small-4 small-offset-4 cell"> <h1 class="text-center">Log in</h1> <%= form_for(resource, as: resource_name, url: session_path(resource_name), html: { "data-abide": true, novalidate: true }) do |f| %> <div data-abide-error class="alert callout" style="display: none;"> <p><i class="fi-alert"></i> There are some errors in your form.</p> </div> <label for="<%= resource_name %>_email"> <div class="input-group"> <span class="input-group-label"><i class="fa fa-envelope"></i></span> <%= f.email_field :email, autofocus: true, placeholder: 'Email Address', class: "input-group-field", required: "required", pattern: "email" %> <span class="form-error" data-form-error-for="<%= resource_name %>_email">Your email is required.</span> </div> </label> <label for="<%= resource_name %>_password"> <div class="input-group"> <span class="input-group-label"><i class="fa fa-key"></i></span> <%= f.password_field :password, autocomplete: "off", placeholder: 'Password', class: "input-group-field", required: "required" %> <span class="form-error" data-form-error-for="<%= resource_name %>_password">Your password is required.</span> </div> </label> <% if devise_mapping.rememberable? -%> <fieldset> <%= f.check_box :remember_me %> <%= f.label :remember_me, "Remeber Me", for: :remember_me %> </fieldset> <% end -%> <div class="input-group"> <%= f.submit "Log in", class: "button primary large expanded" %> </div> <% end %> <div class="text-center"> <%= render "devise/shared/links" %> </div> </div> </div>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
devise-foundationed-0.1.1 | app/views/devise/sessions/new.html.erb |