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}} |
||||
<div class="ui negative message"> |
||||
<div class="ui negative message"> |
||||
<p>{{.Flash.ErrorMsg}}</p> |
||||
</div> |
||||
</div> |
||||
{{end}} |
||||
{{if .Flash.SuccessMsg}} |
||||
<div class="ui positive message"> |
||||
<div class="ui positive message"> |
||||
<p>{{.Flash.SuccessMsg}}</p> |
||||
</div> |
||||
</div> |
||||
{{end}} |
||||
{{if .Flash.InfoMsg}} |
||||
<div class="ui info message"> |
||||
<div class="ui info message"> |
||||
<p>{{.Flash.InfoMsg}}</p> |
||||
</div> |
||||
</div> |
||||
{{end}} |
Loading…
Reference in new issue