aboutsummaryrefslogtreecommitdiff
path: root/templates/settings.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/settings.tmpl')
-rw-r--r--templates/settings.tmpl9
1 files changed, 9 insertions, 0 deletions
diff --git a/templates/settings.tmpl b/templates/settings.tmpl
index 67386a4..972e1a2 100644
--- a/templates/settings.tmpl
+++ b/templates/settings.tmpl
@@ -5,6 +5,15 @@
<form id="settings-form" action="/settings" method="POST">
<input type="hidden" name="csrf_token" value="{{$.Ctx.CSRFToken}}">
<div class="settings-form-field">
+ <label for="visibility"> Default format </label>
+ {{$defFormat := .Settings.DefaultFormat}}
+ <select id="post-format" name="format">
+ {{range .PostFormats}}
+ <option value="{{.Type}}" {{if eq $defFormat .Type}}selected{{end}}>{{.Name}}</option>
+ {{end}}
+ </select>
+ </div>
+ <div class="settings-form-field">
<label for="visibility"> Default scope </label>
<select id="visibility" name="visibility">
<option value="public" {{if eq .Settings.DefaultVisibility "public"}}selected{{end}}>Public</option>