16 lines
508 B
HTML
16 lines
508 B
HTML
{{ template "base.html" . }}
|
|
|
|
{{ define "content" }}
|
|
{{ if .User.IsEduAuthor }}
|
|
<div class="optionbar">
|
|
<div class="options">
|
|
</div>
|
|
<div class="options">
|
|
<a class="edit action button" href="{{ .EditUrl }}" title="Edit">✎ Edit</a>
|
|
<a class="delete action button" href="{{ .DeleteUrl }}" title="Delete">✖ Delete</a>
|
|
</div>
|
|
</div>
|
|
{{ end }}
|
|
{{ .Article.Content }}
|
|
{{ end }}
|