Rename author to authors and subject to tags
This commit is contained in:
parent
e72de38725
commit
7f9c172853
17 changed files with 37 additions and 39 deletions
|
@ -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">
|
||||
|
|
Reference in a new issue