new album link
This commit is contained in:
parent
7f971b9c84
commit
7488cb9844
|
@ -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>
|
|
@ -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øk" class="button" />
|
<input type="submit" value="Search" class="button" />
|
||||||
</form>
|
</form>
|
||||||
<hr class="seperator" />
|
<hr class="seperator" />
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue