Add a '/' to the end of store and delete urls
This commit is contained in:
parent
58447a19cb
commit
8ddb7a0f89
2 changed files with 3 additions and 3 deletions
|
@ -10,7 +10,7 @@ function delBook(){
|
|||
<a class="close" data-dismiss="alert">×</a> \
|
||||
<h4 class="alert-heading">Do you really want to delete it?</h4> \
|
||||
<p>Remove a book is permanent, you won\'t be able to get it back</p> \
|
||||
<a class="btn btn-danger" href="/delete/{{.Id}}">Remove it</a> \
|
||||
<a class="btn btn-danger" href="/delete/{{.Id}}/">Remove it</a> \
|
||||
<a class="btn" href="#" data-dismiss="alert">Cancel</a> \
|
||||
</div>';
|
||||
}
|
||||
|
|
|
@ -41,9 +41,9 @@
|
|||
</div>
|
||||
<div class="span2">
|
||||
<div class="row btn-group pull-right">
|
||||
<a href="/store/{{.Id}}" class="btn btn-success"><i class="icon-ok"></i> Save</a>
|
||||
<a href="/store/{{.Id}}/" class="btn btn-success"><i class="icon-ok"></i> Save</a>
|
||||
<a href="/edit/{{.Id}}" class="btn btn-primary"><i class="icon-pencil"></i> Edit</a>
|
||||
<a href="/delete/{{.Id}}" class="btn btn-danger"><i class="icon-remove"></i> Delete</a>
|
||||
<a href="/delete/{{.Id}}/" class="btn btn-danger"><i class="icon-remove"></i> Delete</a>
|
||||
</div>
|
||||
<div class="row"><p></p></div>
|
||||
<div class="row btn-group pull-right">
|
||||
|
|
Reference in a new issue