aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/news/news.html16
1 files changed, 9 insertions, 7 deletions
diff --git a/templates/news/news.html b/templates/news/news.html
index bf59233..08399f3 100644
--- a/templates/news/news.html
+++ b/templates/news/news.html
@@ -16,22 +16,24 @@
{% endif %}
<form class="news_add form-horizontal" role="form" action="{{ url_for('edit_news', news_id=news.id) if news.id else url_for('add_news')}}" method="post">
<div class="form-group">
- <label for="title" class="col-md-3">Titre :</label>
+ <label for="title" class="col-md-3 control-label">Titre :</label>
<div class="col-md-9">
<input id="title" type="text" name="title" class="form-control" value="{{news.title if news}}"/>
</div>
</div>
<div class="form-group">
- <label for="content" class="col-md-3">Contenu :</label>
+ <label for="content" class="col-md-3 control-label">Contenu :</label>
<div class="col-md-9">
<textarea rows="15" name="content" class="form-control">{{news.content if news}}</textarea>
</div>
</div>
- <div class="col-md-offset-3">
- <button type="submit" class="btn btn-primary"
- name="Add">Ajouter</button>
- <button type="submit" class="btn btn-primary"
- name="Modifier">Aperçu</button>
+ <div class="form-group">
+ <div class="col-md-offset-3 col-md-9">
+ <button type="submit" class="btn btn-primary"
+ name="Add">Ajouter</button>
+ <button type="submit" class="btn btn-primary"
+ name="Modifier">Aperçu</button>
+ </div>
</div>
</form>
{% endblock %}