Sha256: 2814eca7b80db9e599768b77349d58a76634e3250faebcc87281dd66dad89083

Contents?: true

Size: 1.21 KB

Versions: 5

Compression:

Stored size: 1.21 KB

Contents

<style type="text/css">
  body > .grid { height: 90%; }
  .column { max-width: 450px; }
  @media (min-width: 768px){
    .column { max-width: 600px; }
  }
</style>
<div class="ui middle aligned center aligned grid">
  <div class="column">
    <%- if options[:metatags] %>
    <h2 class="ui center aligned dividing header teal"><i class="sign in icon"></i><%%= title('Log in') %></h2>
    <% else -%>
    <h2 class="ui center aligned dividing header teal"><i class="sign in icon"></i>Log in</h2>
    <%- end %>
    <div class="ui large form ">
    <%%= simple_form_for(resource, as: resource_name, url: session_path(resource_name)) do |f| %>
      <div class="field">
        <%%= f.input :email, required: false, autofocus: true, input_html: { autocomplete: 'email' } %>
        <%%= f.input :password, required: false, input_html: { autocomplete: 'current-password' } %>
        <%%= f.input :remember_me, as: :boolean if devise_mapping.rememberable? %>
      </div>
      <div class="actions">
        <%%= f.button :submit, 'Log in' %>
      </div>
    <%% end %>
    <div class="ui horizontal divider">or</div>
      <div class="ui horizontal list">
        <%%= render "devise/shared/links" %>
      </div>
    </div>
  </div>
</div>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
semantic_ui_views_generator-0.0.9 lib/generators/semantic/templates/devise/simple_form/erb/sessions/new.html.erb.tt
semantic_ui_views_generator-0.0.8 lib/generators/semantic/templates/devise/simple_form/erb/sessions/new.html.erb.tt
semantic_ui_views_generator-0.0.7 lib/generators/semantic/templates/devise/simple_form/erb/sessions/new.html.erb.tt
semantic_ui_views_generator-0.0.6 lib/generators/semantic/templates/devise/simple_form/erb/sessions/new.html.erb.tt
semantic_ui_views_generator-0.0.5 lib/generators/semantic/templates/devise/simple_form/erb/sessions/new.html.erb.tt