Loos
10 years ago
6 changed files with 29 additions and 50 deletions
@ -1,28 +0,0 @@ |
|||
== README |
|||
|
|||
This README would normally document whatever steps are necessary to get the |
|||
application up and running. |
|||
|
|||
Things you may want to cover: |
|||
|
|||
* Ruby version |
|||
|
|||
* System dependencies |
|||
|
|||
* Configuration |
|||
|
|||
* Database creation |
|||
|
|||
* Database initialization |
|||
|
|||
* How to run the test suite |
|||
|
|||
* Services (job queues, cache servers, search engines, etc.) |
|||
|
|||
* Deployment instructions |
|||
|
|||
* ... |
|||
|
|||
|
|||
Please feel free to use a different markup language if you do not plan to run |
|||
<tt>rake doc:app</tt>. |
@ -1,17 +1,19 @@ |
|||
<h2>Sign in</h2> |
|||
<div class="container"> |
|||
<h2>Sign in</h2> |
|||
|
|||
<%= form_for(resource, as: resource_name, url: session_path(resource_name)) do |f| %> |
|||
<div><%= f.label :email %><br /> |
|||
<%= f.email_field :email, autofocus: true %></div> |
|||
<%= form_for(resource, as: resource_name, url: session_path(resource_name)) do |f| %> |
|||
<div><%= f.label :email %><br /> |
|||
<%= f.email_field :email, autofocus: true %></div> |
|||
|
|||
<div><%= f.label :password %><br /> |
|||
<%= f.password_field :password, autocomplete: "off" %></div> |
|||
<div><%= f.label :password %><br /> |
|||
<%= f.password_field :password, autocomplete: "off" %></div> |
|||
|
|||
<% if devise_mapping.rememberable? -%> |
|||
<div><%= f.check_box :remember_me %> <%= f.label :remember_me %></div> |
|||
<% end -%> |
|||
<% if devise_mapping.rememberable? -%> |
|||
<div><%= f.check_box :remember_me %> <%= f.label :remember_me %></div> |
|||
<% end -%> |
|||
|
|||
<div><%= f.submit "Sign in" %></div> |
|||
<% end %> |
|||
<div><%= f.submit "Sign in" %></div> |
|||
<% end %> |
|||
|
|||
<%= render "devise/shared/links" %> |
|||
<%= render "devise/shared/links" %> |
|||
</div> |
|||
|
@ -1,5 +1,10 @@ |
|||
.container |
|||
%h1 Bicycle Data Tracker |
|||
%h1 Bike & Client Tracker |
|||
- if current_user |
|||
= link_to "Sign out", destroy_user_session_path, method: :delete |
|||
- else |
|||
= link_to "Sign in", new_user_session_path |
|||
%br |
|||
= link_to "Bikes", bikes_path |
|||
%br |
|||
= link_to "Volunteers", volunteers_path |
|||
= link_to "Clients", clients_path |
|||
|
Loading…
Reference in new issue