new album link

This commit is contained in:
Espen Antonsen 2009-06-16 13:37:15 +02:00
parent 7f971b9c84
commit 7488cb9844
2 changed files with 2 additions and 1 deletions

View file

@ -16,6 +16,7 @@
<div style="clear:both;">
<% if has_role?("admin") %>
<br /><%= link_to "Update collection", edit_collection_path(@collection) %>
<br /><%= link_to "New album", new_collection_album_path(@collection) %>
<% end %>
<br /><%= link_to "All collections", collections_path %>
</div>

View file

@ -17,7 +17,7 @@
<h1>ImageGallery</h1>
<form action="/photos" method="get" id="search">
<input type="text" name="q" class="textfie.d"/>
<input type="submit" value="S&oslash;k" class="button" />
<input type="submit" value="Search" class="button" />
</form>
<hr class="seperator" />
</div>