Sha256: 1a4783700b2fa53bbe91132a7990a1b9fcf88944343806f73a38b60e733b4540

Contents?: true

Size: 1.63 KB

Versions: 5

Compression:

Stored size: 1.63 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 ">
      <%%= form_for(resource, as: resource_name, url: session_path(resource_name)) do |f| %>
        <div class="field">
          <%%= f.label :email %>
          <div class="ui left icon input">
          <%%= f.email_field :email, autofocus: true ,placeholder:"Email"%>
          <i class="user icon"></i>
          </div>
        </div>
        <div class="field">
          <%%= f.label :password %>
          <div class="ui left icon input">
          <%%= f.password_field :password, autocomplete: "off" ,placeholder:"Password"%>
          <i class="lock icon"></i>
          </div>
        </div>
        <%% if devise_mapping.rememberable? -%>
          <div class="ui checkbox">
            <%%= f.check_box :remember_me %>
            <%%= f.label :remember_me %> <br>
          </div>
        <%% end -%>
        <div class="actions">
          <%%= f.submit "Log in", class: "ui submit button fluid teal"%>
        </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/erb/sessions/new.html.erb.tt
semantic_ui_views_generator-0.0.8 lib/generators/semantic/templates/devise/erb/sessions/new.html.erb.tt
semantic_ui_views_generator-0.0.7 lib/generators/semantic/templates/devise/erb/sessions/new.html.erb.tt
semantic_ui_views_generator-0.0.6 lib/generators/semantic/templates/devise/erb/sessions/new.html.erb.tt
semantic_ui_views_generator-0.0.5 lib/generators/semantic/templates/devise/erb/sessions/new.html.erb.tt