diff options
Diffstat (limited to 'themes/alps/compose.html')
-rw-r--r-- | themes/alps/compose.html | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/themes/alps/compose.html b/themes/alps/compose.html index 82ee283..e81b7ae 100644 --- a/themes/alps/compose.html +++ b/themes/alps/compose.html @@ -24,11 +24,17 @@ value="{{.Message.ToString}}" multiple list="emails" - {{ if not .Message.To }} autofocus{{ end }} + {{ if not .Message.ToString }} autofocus{{ end }} /> <label>Subject</label> - <input type="text" name="subject" id="subject" value="{{.Message.Subject}}" {{ if .Message.To }} autofocus{{ end }}/> + <input + type="text" + name="subject" + id="subject" + value="{{.Message.Subject}}" + {{ if .Message.ToString }} autofocus{{ end }} + /> <label>Attachments</label> <input type="file" name="attachments" id="attachments" multiple> |