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>
<!-- 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">
<div class="container-fluid">
{{$url := ""}}

View File

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