Allow multiline descriptions
This commit is contained in:
parent
155144d86e
commit
424a0fad8e
3 changed files with 11 additions and 7 deletions
|
@ -60,16 +60,16 @@ function delBook(){
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{end}}
|
||||
|
||||
<div class="row">
|
||||
{{if .Description}}
|
||||
<div class="span8">
|
||||
<p>{{.Description}}</p>
|
||||
</div>
|
||||
{{range .Description}}
|
||||
<p>{{.}}</p>
|
||||
{{end}}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{end}}
|
||||
|
||||
{{template "footer.html"}}
|
||||
|
|
Reference in a new issue