This commit improves templates readability, since all of them use consistent indent with all template command blocks indented too. 1. Indents both HTML containers such as <div>, <p> and Go HTML template blocks such as {{if}} {{with}} 2. Cleans all trailing white-space 3. Adds trailing last line-break to each filetokarchuk/v1.17
parent
dd8a06a397
commit
da2585c11e
@ -1,15 +1,15 @@ |
|||||||
{{if .Flash.ErrorMsg}} |
{{if .Flash.ErrorMsg}} |
||||||
<div class="ui negative message"> |
<div class="ui negative message"> |
||||||
<p>{{.Flash.ErrorMsg}}</p> |
<p>{{.Flash.ErrorMsg}}</p> |
||||||
</div> |
</div> |
||||||
{{end}} |
{{end}} |
||||||
{{if .Flash.SuccessMsg}} |
{{if .Flash.SuccessMsg}} |
||||||
<div class="ui positive message"> |
<div class="ui positive message"> |
||||||
<p>{{.Flash.SuccessMsg}}</p> |
<p>{{.Flash.SuccessMsg}}</p> |
||||||
</div> |
</div> |
||||||
{{end}} |
{{end}} |
||||||
{{if .Flash.InfoMsg}} |
{{if .Flash.InfoMsg}} |
||||||
<div class="ui info message"> |
<div class="ui info message"> |
||||||
<p>{{.Flash.InfoMsg}}</p> |
<p>{{.Flash.InfoMsg}}</p> |
||||||
</div> |
</div> |
||||||
{{end}} |
{{end}} |
Loading…
Reference in new issue