you will from now on be known as the name Balder

This commit is contained in:
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. Made by Espen Antonsen.
http://balderapp.com
== Features == Features
* Stores photos to disk in folders * Stores photos to disk in folders

View file

@ -6,8 +6,10 @@
<%= f.submit "Update" %> <%= f.submit "Update" %>
<% end %> <% 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> <h2><%= link_to user.name || user.email , user %></h2>
<% end %> <% 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 %> <%= f.error_messages %>
<%= render :partial => "form", :object => f %> <%= render :partial => "form", :object => f %>
<%= f.submit "Register" %> <%= f.submit "Register" %>
<% end %> <% end %>
<br /><%= link_to "All users", users_path %>

View file

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

View file

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