you will from now on be known as the name Balder

rails2
Espen Antonsen 2009-07-27 18:58:58 +02:00
parent 5b8a651fd2
commit 1692a120a0
6 changed files with 18 additions and 13 deletions

4
README
View File

@ -1,7 +1,9 @@
== Welcome to the gallery without a name
== Welcome to Balder photo gallery
Made by Espen Antonsen.
http://balderapp.com
== Features
* Stores photos to disk in folders

View File

@ -6,8 +6,10 @@
<%= f.submit "Update" %>
<% end %>
<br /><%= link_to("Delete user", { :action => "destroy", :id => @user },
:confirm => "Are you sure you want to delete this user?",
:method => :delete) %>
<br /><%= link_to "All users", users_path %>
<% content_for :action_links do %>
<%= link_to("Delete user", { :action => "destroy", :id => @user },
:confirm => "Are you sure you want to delete this user?",
:method => :delete) %>
<% end %>

View File

@ -2,4 +2,6 @@
<h2><%= link_to user.name || user.email , user %></h2>
<% end %>
<br /><%= link_to "New user", new_user_path %>
<% content_for :action_links do %>
<%= link_to "New user", new_user_path %>
<% end %>

View File

@ -4,6 +4,4 @@
<%= f.error_messages %>
<%= render :partial => "form", :object => f %>
<%= f.submit "Register" %>
<% end %>
<br /><%= link_to "All users", users_path %>
<% end %>

View File

@ -39,6 +39,7 @@
<%=h @user.current_login_ip %>
</p>
<%= link_to 'Edit', edit_user_path(@user) %><br/>
<br /><%= link_to "All users", users_path %>
<% content_for :action_links do %>
<%= link_to 'Edit', edit_user_path(@user) %>
<% end %>

View File

@ -37,7 +37,7 @@
<div id="footer">
<hr class="seperator" />
&copy; Gallery without a name.
&copy; <a href="http://balderapp.com">Balder</a>.
</div>
</div>