Sha256: 488c13a270c09d9148949a467f5cd3ae35ab313381b616e6be2ddea679bf4cf7

Contents?: true

Size: 1.49 KB

Versions: 7

Compression:

Stored size: 1.49 KB

Contents

<div class="page-header">
  <h1>Login</h1>
</div>

<div class="row">
  <div class="col-md-offset-2 col-md-8">
    <div class="panel panel-default">
      <div class="panel-body">

        <%= form_for(resource, :as => resource_name, :url => session_path(resource_name), :html => {:class => 'form-horizontal'}) do |f| %>
          <div class="form-group">
            <%= f.label :login, :class => 'col-sm-2 control-label' %>
            <div class="col-sm-8">
              <%= f.text_field :login, :class => 'form-control' %>
            </div>
          </div>
          <div class="form-group">
            <%= f.label :password, :class => 'col-sm-2 control-label' %>
            <div class="col-sm-8">
              <%= f.password_field :password, :class => 'form-control' %>
            </div>
          </div>
          <% if devise_mapping.rememberable? -%>
            <div class="form-group">
              <div class="col-sm-offset-2 col-sm-8">
                <div class="checkbox">
                  <label>
                    <%= f.check_box :remember_me %> Angemeldet bleiben
                  </label>
                </div>
              </div>
            </div>
          <% end %>

          <div class="form-group">
            <div class="col-sm-offset-2 col-sm-10">
              <%= f.submit "Login", :class => 'btn btn-primary' %>
            </div>
          </div>

          <hr/>

          <%= render :partial => "devise/shared/links" %>

        <% end %>

      </div>
    </div>
  </div>
</div>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
gb_mapfish_appserver-2.0.0 app/views/devise/sessions/new.html.erb
gb_mapfish_appserver-1.1.1 app/views/devise/sessions/new.html.erb
gb_mapfish_appserver-1.1.0 app/views/devise/sessions/new.html.erb
gb_mapfish_appserver-1.0.6 app/views/devise/sessions/new.html.erb
gb_mapfish_appserver-1.0.5 app/views/devise/sessions/new.html.erb
gb_mapfish_appserver-1.0.4 app/views/devise/sessions/new.html.erb
gb_mapfish_appserver-1.0.3 app/views/devise/sessions/new.html.erb