[%# views/entry/module-currents.tt Module for currents / metadata in the entry form Authors: Afuna Copyright (c) 2014 by Dreamwidth Studios, LLC. This program is free software; you may redistribute it and/or modify it under the same terms as Perl itself. For a copy of the license, please reference 'perldoc perlartistic' or 'perldoc perlgpl'. -%]

[% ".header" | ml %]

[%- moodselect = []; FOREACH mood IN moods; moodselect.push( mood.id, mood.name ); END -%] [%- form.select( label = dw.ml( ".label.current_mood" ) name = "current_mood" id = "js-current-mood" class = "draft-autosave" items = moodselect ) -%]
[%- form.textbox( label = dw.ml( ".label.current_mood_other" ) name = "current_mood_other" id = "js-current-mood-other" class = "draft-autosave" size = "20" maxlength = "30" ) %]
[%- form.textbox( label = dw.ml( ".label.current_music" ) name = "current_music" id = "current-music" class = "draft-autosave" size="20" maxlength="80" ) %]
[%- form.textbox( label = dw.ml( ".label.current_location" ) name = "current_location" id = "current-location" class = "draft-autosave" size = "20" maxlength = "80" ) %]