Sha256: 93891415d0137fa28874ad73ce804a0f84fff24000195361eae07cf94296cace

Contents?: true

Size: 865 Bytes

Versions: 2

Compression:

Stored size: 865 Bytes

Contents

<h2>Log in</h2>

<% if flash[:notice] %>
  <div class="notice"><%= flash[:notice] %></div>
<% end %>

  <div class="row">
    <div class="col-md-8">
      <%= form_for :session, url: sessions_path do |f|  %>
        <div class="form-group">
          <%= f.label :name %>
          <%= f.text_field :name, autofocus: true, class: 'form-control', placeholder: "enter name" %>
        </div>
        <div class="form-group">
          <%= f.label :email %>
          <%= f.email_field :email, class: 'form-control', placeholder: "enter email" %>
        </div>
        <div class="form-group">
          <%= f.label :password %>
          <%= f.password_field :password, class: 'form-control', placeholder: "enter password" %>
        </div>
        <div>
      <%= f.submit "sign in", class: 'btn btn-success' %>
        </div>
      <% end %>
    </div>
  </div>


Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
whodat-1.0.1 app/views/whodat/sessions/new.html.erb
whodat-1.0.0 app/views/whodat/sessions/new.html.erb