Add section for adding an album.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Tue, 11 Jan 2011 06:11:09 +0000 (07:11 +0100)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Tue, 11 Jan 2011 06:11:09 +0000 (07:11 +0100)
src/main/resources/templates/imageBrowser.html

index 980a2fb..ece0dfc 100644 (file)
 
        <%elseif imageRequested>
 
+       <%else>
+
+               <form id="create-album" method="post" action="createAlbum.html">
+                       <input type="hidden" name="formPassword" value="<% formPassword|html>" />
+                       <input type="hidden" name="returnPage" value="<% request.uri|html>" />
+                       <input type="file" name="image" />
+                       <button type="submit" name="uploadImage" value="1"><%= Page.ImageBrowser.CreateAlbum.Button.CreateAlbum|l10n|html></button>
+               </form>
+
        <%/if>
 
 <%include include/tail.html>