Re-namespacing a bit to clear out some fairly old stuff from the top level

This commit is contained in:
Dan Buch
2013-01-22 19:10:10 -05:00
parent ab43fb0146
commit 92f7543872
485 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
<% if @flash %>
<% if @flash[:message] %>
<div id="flash-message"><%= @flash[:message] %></div>
<% end %>
<% if @flash[:error] %>
<div id="flash-error"><%= @flash[:error] %></div>
<% end %>
<% end %>
<%= form_tag :action => 'process_login' do %>
<label for="username">Username:</label> <%= text_field "user", "username" %>&#x00A;
<label for="password">Password:</label> <%= password_field "user", "password" %>&#x00A;
<%= submit_tag %>
<% end %>

View File

@@ -0,0 +1,2 @@
<h1>User#logout</h1>
<p>Find me in app/views/user/logout.html.erb</p>

View File

@@ -0,0 +1,3 @@
<h1>Account Info</h1>
<p>Your username is <%= User.find(session[:id]).username %>

View File

@@ -0,0 +1,2 @@
<h1>User#process_login</h1>
<p>Find me in app/views/user/process_login.html.erb</p>