Skip to content

Commit

Permalink
Merge branch 'master' of github.com:rocketslide/soup
Browse files Browse the repository at this point in the history
  • Loading branch information
ecwilhelm authored and ecwilhelm committed Apr 30, 2011
2 parents 6222c5c + 9d1dff1 commit 9e27da8
Show file tree
Hide file tree
Showing 9 changed files with 30 additions and 3 deletions.
Binary file modified .DS_Store
Binary file not shown.
Binary file modified app/views/.DS_Store
Binary file not shown.
Binary file added app/views/homepage/.DS_Store
Binary file not shown.
2 changes: 1 addition & 1 deletion app/views/homepage/index.html.erb
@@ -1,5 +1,5 @@


<h1>Are you game?</h1>

<p>Welcome to Restaurant Bingo, the game where you eat your way to success!</p>
Expand Down
Binary file modified app/views/sessions/.DS_Store
Binary file not shown.
27 changes: 27 additions & 0 deletions app/views/sessions/_loginpartial.html.erb
@@ -0,0 +1,27 @@
<div class="login">
<% if flash[:alert] %>
<p id="notice">
<%= flash[:alert] %></p>
<% end %>
<%= form_tag do %>
<fieldset>
<legend>Please Log In</legend>
<div class="loginfield">
<label for="name">Name:</label>
<%= text_field_tag :username, params[:username] %>
</div>

<div class="loginfield">
<label for="password">Password:</label>
<%= password_field_tag :password, params[:password] %>
</div>

<div>
<%= submit_tag "Login" %>
</div>

</fieldset>

<% end %>
</div>
Binary file modified app/views/users/.DS_Store
Binary file not shown.
4 changes: 2 additions & 2 deletions app/views/users/index.html.erb
Expand Up @@ -7,7 +7,7 @@
<th>Lastname</th>
<th>Username</th>
<th>Timestamp</th>
<th>Hash password</th>
<!--<th>Hash password</th>-->
<th></th>
<th></th>
<th></th>
Expand All @@ -20,7 +20,7 @@
<td><%= user.lastname %></td>
<td><%= user.username %></td>
<td><%= user.timestamp %></td>
<td><%= user.hash_password %></td>
<!--<td><%= user.hash_password %></td>-->
<td><%= link_to 'Show', user %></td>
<td><%= link_to 'Edit', edit_user_path(user) %></td>
<td><%= link_to 'Destroy', user, :confirm => 'Are you sure?', :method => :delete %></td>
Expand Down
Binary file modified db/.DS_Store
Binary file not shown.

0 comments on commit 9e27da8

Please sign in to comment.