Sha256: 40fc830f7fbd8b5a32f55bfc6b160d018f2b54e096fa7461de68254a81ced37c

Contents?: true

Size: 1.05 KB

Versions: 1

Compression:

Stored size: 1.05 KB

Contents

<%= form_tag admin_sessions_path, :method => :post, :class => "login-box" do %>
  <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>
      <%= text_field_tag :username, nil, :placeholder => I18n.t("username", :scope => "helpers.label", :default => "Username") %>            
    </div>

    <div class="input-prepend">
    	<span class="add-on"><i class="icon-lock"></i></span>
      <%= password_field_tag :password, nil, :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

1 entries across 1 versions & 1 rubygems

Version Path
fullstack-admin-0.2.2 app/views/admin/sessions/new.html.erb