Add basic image uploading capability.
[Sone.git] / src / main / resources / templates / include / uploadImage.html
1 <h2><%= View.UploadImage.Title|l10n|html></h2>
2
3 <form id="upload-image" method="post" action="uploadImage.html" enctype="multipart/form-data">
4         <input type="hidden" name="formPassword" value="<% formPassword|html>" />
5         <input type="hidden" name="parent" value="<% album.id|html>" />
6         <label for="title"><%= View.UploadImage.Label.Title|l10n|html></label>
7         <input type="text" name="title" value="" />
8         <label for="description"><%= View.UploadImage.Label.Description|l10n|html></label>
9         <input type="text" name="description" value="" />
10         <input type="file" name="image" />
11         <button type="submit" name="uploadImage" value="1"><%= View.UploadImage.Button.UploadImage|l10n|html></button>
12 </form>