Sha256: 4a86b688f911599e6a3819c7fd0826ebeea0cc4965e2aa632179c4b3ff4868b6

Contents?: true

Size: 1004 Bytes

Versions: 13

Compression:

Stored size: 1004 Bytes

Contents

<div class="page-header">
  <h1>Sign In</h1>
</div>

<% if flash[:alert] %>
  <div class="alert alert-block alert-error">
    <%= flash[:alert] %>
  </div>
<% end %>

<%= form_for(@session, :as => :session, :url => signin_path, :method => :post, :html => { :id => 'log-in-form'}) do |f| %>
  <div class="row">
    <div class="span6 form-horizontal">
      <div class="control-group">
        <%= f.label :username, t('.user_or_email'), :class => 'control-label' %>

        <div class="controls">
          <%= f.text_field :username, :size => 40, :maxlength => 200, :class => 'span3' %>
        </div>
      </div>

      <div class="control-group">
        <%= f.label :password, t('.password'), :class => 'control-label' %>

        <div class="controls">
          <%= f.password_field :password, :size => 40, :maxlength => 200, :class => 'span3' %>
        </div>
      </div>
    </div>
  </div>

  <div class="form-actions"><%= f.submit t('.signin'), :class => 'btn btn-primary' %></div>
<% end %>

Version data entries

13 entries across 13 versions & 2 rubygems

Version Path
challah-rolls-0.2.0 vendor/bundle/gems/challah-0.8.0.pre/app/views/sessions/new.html.erb
challah-0.8.2 app/views/sessions/new.html.erb
challah-0.8.1 app/views/sessions/new.html.erb
challah-0.8.0 app/views/sessions/new.html.erb
challah-rolls-0.1.0 vendor/bundle/gems/challah-0.8.0.pre/app/views/sessions/new.html.erb
challah-0.8.0.pre app/views/sessions/new.html.erb
challah-0.7.1 app/views/sessions/new.html.erb
challah-0.7.0 app/views/sessions/new.html.erb
challah-0.7.0.pre2 app/views/sessions/new.html.erb
challah-0.7.0.pre app/views/sessions/new.html.erb
challah-0.6.2 app/views/sessions/new.html.erb
challah-0.6.1 app/views/sessions/new.html.erb
challah-0.6.0 app/views/sessions/new.html.erb