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

View file

@ -17,7 +17,7 @@
<h1>ImageGallery</h1> <h1>ImageGallery</h1>
<form action="/photos" method="get" id="search"> <form action="/photos" method="get" id="search">
<input type="text" name="q" class="textfie.d"/> <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> </form>
<hr class="seperator" /> <hr class="seperator" />
</div> </div>