19 lines
No EOL
446 B
Text
19 lines
No EOL
446 B
Text
<h1>Sessions#new</h1>
|
|
<p>Find me in app/views/sessions/new.html.erb</p>
|
|
<h1>Log in</h1>
|
|
|
|
<div class="row">
|
|
<div class="col-md-6 col-md-offset-3">
|
|
<%= form_for(:session, url: login_path) do |f| %>
|
|
|
|
<%= f.label :name %>
|
|
<%= f.text_field :name, class: 'form-control' %>
|
|
|
|
|
|
|
|
<%= f.submit "Log in", class: "btn btn-primary" %>
|
|
<% end %>
|
|
|
|
<p>New user? <%= link_to "Sign up now!", signup_path %></p>
|
|
</div>
|
|
</div> |