HMS

Home Media Server for Roku Players
git clone https://www.brianlane.com/git/HMS
Log | Files | Refs | README | LICENSE

commit ccc8443051b888c58feccb53753fecd3ee48b2d0
parent 531d3eb73f627a86b4fcb6471c746d6899e37307
Author: Brian C. Lane <bcl@f12.imp.home>
Date:   Tue, 13 Apr 2010 23:58:17 -0700

Shuffeling around fieldset and form tags.

Diffstat:
Mserver/hms/templates/mediaedit.html | 9+++------
1 file changed, 3 insertions(+), 6 deletions(-)

diff --git a/server/hms/templates/mediaedit.html b/server/hms/templates/mediaedit.html @@ -24,16 +24,15 @@ {% block body %} <form action="/tmdb/search/{{ metadata["id"] }}" method="post" class="ui-dialog" id="searchForm"> -<fieldset id="search_themoviedb"> + <fieldset id="search_themoviedb"> <legend>Search themoviedb.org</legend> <div class="form-input"><label for="searchTitle">Title</label> <input type="text" size="40" name="searchTitle"> </div> <input type="submit" value="{{ _("Search") }}"/> - {{ xsrf_form_html() }} + </fieldset> </form> -</fieldset> <form enctype="multipart/form-data" action="/media/edit/{{ metadata["id"] }}" method="post" class="ui-dialog" id="mediaForm"> <fieldset id="media_images"> @@ -185,11 +184,9 @@ <div class="form-input"><label for="artist">Artist</label> <input type="text" size="80" name="artist" value="{{ metadata["artist"] or "" }}" /></div> - </fieldset> - <input type="submit" value="{{ _("Update") }}"/> - {{ xsrf_form_html() }} + </fieldset> </form> </div> {% end %}