updated invalid html

This commit is contained in:
Suraj 2016-02-16 22:21:01 +05:30
parent 45599b4d78
commit d598f289f3
2 changed files with 5 additions and 5 deletions

View File

@ -40,7 +40,7 @@
<body> <body>
<!-- The navigation bar--> <!-- The navigation bar-->
<div id = "noti" class='notification {{if eq .Message ""}} hidden {{end}}'><span id="message"><p id="actlMsg">{{.Message}}</div> <div id = "noti" class='notification {{if eq .Message ""}} hidden {{end}}'><span id="message"><p id="actlMsg">{{.Message}}</p></span></div>
<nav class="navbar navbar-default navbar-fixed-top mainHeader"> <nav class="navbar navbar-default navbar-fixed-top mainHeader">
<div class="container-fluid"> <div class="container-fluid">
{{$url := ""}} {{$url := ""}}

View File

@ -15,8 +15,8 @@
<form enctype="multipart/form-data" action="/add/" method="POST"> <form enctype="multipart/form-data" action="/add/" method="POST">
<div class="form-group"> <div class="form-group">
<input type="text" name="title" class="form-control" id="add-note-title" placeholder="Title" > <input type="text" name="title" class="form-control" id="add-note-title" placeholder="Title" />
<input class="hidden"" name="CSRFToken" value={{.CSRFToken}}> <input class="hidden" name="CSRFToken" value="{{.CSRFToken}}" />
</div> </div>
<div class="form-group"> <div class="form-group">
@ -37,12 +37,12 @@
<option value="{{$cat.Name}}" {{if eq $cat.Name $navigation }} selected="true" {{end}}> {{$cat.Name}} </option> <option value="{{$cat.Name}}" {{if eq $cat.Name $navigation }} selected="true" {{end}}> {{$cat.Name}} </option>
{{end}} {{end}}
</select> </select>
</form>
</div> </div>
<div class="modal-footer"> <div class="modal-footer">
<button type="button" class="btn btn-primary" data-dismiss="modal">Close</button> <button type="button" class="btn btn-primary" data-dismiss="modal">Close</button>
<input type="submit" value="Submit" class="btn btn-primary" id="addNoteBtn" /> <input type="submit" value="Submit" class="btn btn-primary" id="addNoteBtn" />
</div> </div>
</form>
</div> </div>
</div> </div>
</div> </div>
@ -56,7 +56,7 @@
{{$value.Content}} {{$value.Content}}
<div class="commentslist"> <div class="commentslist">
{{range $value.Comments}} {{range $value.Comments}}
<div class="comment">{{.Content}}</div> <div class="comment">{{.Content}}</div>
{{end}} {{end}}
<div class="comment"> <div class="comment">