Sha256: 01cac5494823744a797b5e3d78b0db21d3f93ee31c8a92f1124adaaf0f365136

Contents?: true

Size: 1.15 KB

Versions: 23

Compression:

Stored size: 1.15 KB

Contents

<% if resource.errors.any? %>
<%= resource.errors.inspect %>
<% end %>

<%= form_for( resource, :as => resource_name, :url => session_path(resource_name), :html => {:class => "login-box"} ) do |f| %>
  <div class="login-box-header">
    Login
  </div>
  <div class="login-box-content">
    
    <% [:notice, :error, :alert].each do |sym| %>

        <% if flash[sym].present? %>
          <div class="alert  alert-info alert-login ">
            <%= flash[sym] %>
          </div>
          <% flash.discard(sym) %>
        <% end %>
  
    <% end %>


    <div class="input-prepend">
    	<span class="add-on"><i class="icon-user"></i></span>
      <%= f.text_field :username, :placeholder => I18n.t("username", :scope => "helpers.label", :default => "Username") %>            
    </div>

    <div class="input-prepend">
    	<span class="add-on"><i class="icon-lock"></i></span>
      <%= f.password_field :password, :placeholder => I18n.t("password", :scope => "helpers.label", :default => "Password") %>            
    </div>
  </div>

  <div class="actions form-actions login-box-footer">
    <%= submit_tag "Login", :class => "btn btn-primary" %>
  </div>
    
<% end %>

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
fullstack-admin-0.2.26 app/views/admin/sessions/new.html.erb
fullstack-admin-0.2.25 app/views/admin/sessions/new.html.erb
fullstack-admin-0.2.24 app/views/admin/sessions/new.html.erb
fullstack-admin-0.2.23 app/views/admin/sessions/new.html.erb
fullstack-admin-0.2.22 app/views/admin/sessions/new.html.erb
fullstack-admin-0.2.21 app/views/admin/sessions/new.html.erb
fullstack-admin-0.2.20 app/views/admin/sessions/new.html.erb
fullstack-admin-0.2.19 app/views/admin/sessions/new.html.erb
fullstack-admin-0.2.18 app/views/admin/sessions/new.html.erb
fullstack-admin-0.2.17 app/views/admin/sessions/new.html.erb
fullstack-admin-0.2.16 app/views/admin/sessions/new.html.erb
fullstack-admin-0.2.15 app/views/admin/sessions/new.html.erb
fullstack-admin-0.2.14 app/views/admin/sessions/new.html.erb
fullstack-admin-0.2.13 app/views/admin/sessions/new.html.erb
fullstack-admin-0.2.12 app/views/admin/sessions/new.html.erb
fullstack-admin-0.2.11 app/views/admin/sessions/new.html.erb
fullstack-admin-0.2.9 app/views/admin/sessions/new.html.erb
fullstack-admin-0.2.8 app/views/admin/sessions/new.html.erb
fullstack-admin-0.2.7 app/views/admin/sessions/new.html.erb
fullstack-admin-0.2.6 app/views/admin/sessions/new.html.erb