make button vs link usage consistent
This commit is contained in:
parent
7bd7af44a9
commit
c06dd5c587
@ -104,12 +104,15 @@
|
||||
<input type="submit" value="Update" formaction="{{ BlogURL "posts/" }}" />
|
||||
{{ end }}
|
||||
|
||||
<a href="{{ BlogURL "posts/" }}">
|
||||
<button type="button">Back</button>
|
||||
</a>
|
||||
</p>
|
||||
|
||||
</form>
|
||||
|
||||
<p>
|
||||
<a href="{{ BlogURL "posts/" }}">
|
||||
Back to Posts
|
||||
</a>
|
||||
</p>
|
||||
{{ end }}
|
||||
|
||||
{{ template "base.html" . }}
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
<p>
|
||||
<a href="{{ BlogURL "posts/" }}?edit">
|
||||
<button>New Post</button>
|
||||
New Post
|
||||
</a>
|
||||
</p>
|
||||
|
||||
@ -20,7 +20,7 @@
|
||||
<td><a href="{{ PostURL .ID }}">{{ .Title }}</a></td>
|
||||
<td>
|
||||
<a href="{{ PostURL .ID }}?edit">
|
||||
<button>Edit</button>
|
||||
Edit
|
||||
</a>
|
||||
</td>
|
||||
<td>
|
||||
|
Loading…
Reference in New Issue
Block a user