aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/album_edit.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'view/tpl/album_edit.tpl')
-rwxr-xr-xview/tpl/album_edit.tpl9
1 files changed, 8 insertions, 1 deletions
diff --git a/view/tpl/album_edit.tpl b/view/tpl/album_edit.tpl
index 84a47378b..a65887d3c 100755
--- a/view/tpl/album_edit.tpl
+++ b/view/tpl/album_edit.tpl
@@ -3,7 +3,14 @@
<label id="photo-album-edit-name-label" for="photo-album-edit-name" >{{$nametext}}</label>
-<input type="text" name="albumname" value="{{$album}}" >
+<input type="text" name="albumname" value="{{$album}}" list="dl-album-edit" />
+ <datalist id="dl-album-edit">
+ {{foreach $albums as $al}}
+ {{if $al.text}}
+ <option value="{{$al.text}}">
+ {{/if}}
+ {{/foreach}}
+ </datalist>
<div id="photo-album-edit-name-end"></div>