From 1c721915ebbb31bed21e412b343ea8108a535b71 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Jan 05 2015 09:29:04 +0000 Subject: Place the form to add tag on the same line as the list of existing tags --- diff --git a/progit/static/progit.css b/progit/static/progit.css index 9ed32a9..cc4c8f0 100644 --- a/progit/static/progit.css +++ b/progit/static/progit.css @@ -680,8 +680,9 @@ ul.changes { padding-right: 1em; } -.inline_form div, -.inline_form input { +.tag_form, +.tag_form input { display: inline-block; + margin-left: 0.3em; margin-bottom: 0.3em; } diff --git a/progit/templates/issue.html b/progit/templates/issue.html index d39087d..e59fa54 100644 --- a/progit/templates/issue.html +++ b/progit/templates/issue.html @@ -58,8 +58,8 @@ {% if authenticated and form_tag %}
- {{ render_field(form_tag.tag, placeholder="tag1,tag2") }} + class="tag_form"> + {{ form_tag.csrf_token }}