summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorJonathan Bauer2014-06-23 12:41:53 +0200
committerJonathan Bauer2014-06-23 12:41:53 +0200
commitf6cc509d0a8ccc4d6186d71564dad2e2184f2643 (patch)
tree87388332374e0e0cb1d30c34b1d3d2acf1bbd72b /templates
parentminor - comments were misleading (diff)
downloadslx-admin-f6cc509d0a8ccc4d6186d71564dad2e2184f2643.tar.gz
slx-admin-f6cc509d0a8ccc4d6186d71564dad2e2184f2643.tar.xz
slx-admin-f6cc509d0a8ccc4d6186d71564dad2e2184f2643.zip
[news] added 'clear' button to clearup the form
Diffstat (limited to 'templates')
-rw-r--r--templates/page-news.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/page-news.html b/templates/page-news.html
index 798a9846..c9a2ccb3 100644
--- a/templates/page-news.html
+++ b/templates/page-news.html
@@ -15,7 +15,8 @@
<textarea name="news-content" id ="news-content-id" class="form-control" rows="5" cols="30" placeholder="Willkommen beim bwLehrpool-System!">{{latestContent}}</textarea>
</div>
<p>Letzte Aktualisierung: {{latestDate}}</p>
- <button class="btn btn-primary btn-sm" type="submit">Speichern</button>
+ <button class="btn btn-primary btn-sm" type="submit"><span class="glyphicon glyphicon-save"></span> Speichern</button>
+ <a class="btn btn-primary btn-sm" href="?do=news&amp;action=clear"><span class="glyphicon glyphicon-trash"></span> Leeren</a>
<input type="hidden" name="token" value="{{token}}">
</form>
</div>