Sha256: 5451a168cc7255c01e726695f160eba1338399c743c2825405f9cc1de9fce0ec

Contents?: true

Size: 796 Bytes

Versions: 8

Compression:

Stored size: 796 Bytes

Contents

<%= form_for @session, as: :session, url: signin_path, method: :post do |f| %>
  <div class="row">
    <div class="col-sm-12 col-md-4 col-md-offset-4">
      <h2><%= t(".title") %></h2>

      <hr />

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

      <div class="form-group">
        <%= f.label :username, t(".user_or_email") %>
        <%= f.text_field :username, size: 40, maxlength: 200, class: "form-control" %>
      </div>

      <div class="form-group">
        <%= f.label :password, t(".password") %>
        <%= f.password_field :password, size: 40, maxlength: 200, class: "form-control" %>
      </div>

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

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
challah-2.0.0.beta2 app/views/sessions/new.html.erb
challah-2.0.0.beta1 app/views/sessions/new.html.erb
challah-1.6.1 app/views/sessions/new.html.erb
challah-1.6.0 app/views/sessions/new.html.erb
challah-1.5.0 app/views/sessions/new.html.erb
challah-1.4.2 app/views/sessions/new.html.erb
challah-1.4.1 app/views/sessions/new.html.erb
challah-1.4.0 app/views/sessions/new.html.erb