Rename author to authors and subject to tags

This commit is contained in:
Las Zenow 2016-07-30 07:36:58 -04:00
parent e72de38725
commit 7f9c172853
17 changed files with 37 additions and 39 deletions

View file

@ -22,7 +22,7 @@
<div class="control-group">
<label class="control-label" for="author">Author</label>
<div class="controls">
{{range .Author}}
{{range .Authors}}
<input class="input-xlarge" type="text" id="author" value="{{.}}" name="author">
{{end}}
<input class="input-xlarge" type="text" id="author" placeholder="Add author" name="author">
@ -37,7 +37,7 @@
<div class="control-group">
<label class="control-label" for="tags">Tags</label>
<div class="controls">
<input class="input-xlarge" type="text" id="tags" value="{{range .Subject}}{{.}},{{end}}" name="subject" placeholder="Add tag and hit enter">
<input class="input-xlarge" type="text" id="tags" value="{{range .Tags}}{{.}},{{end}}" name="tags" placeholder="Add tag and hit enter">
</div>
</div>
<div class="control-group">