21 lines
601 B
HTML
21 lines
601 B
HTML
{{ define "page-styles"}}
|
|
<style>
|
|
div.controls {
|
|
margin-top: 1em;
|
|
}
|
|
</style>
|
|
{{ end }}
|
|
|
|
{{ define "page-content" }}
|
|
<form method="post" action="{{ $.URL }}" class="dialog">
|
|
{{ range $k, $v := .Fields }}
|
|
<input type="hidden" name="{{ $k }}" value="{{ $v }}"/>
|
|
{{ end }}
|
|
<div class="message">
|
|
{{ $.Message }}
|
|
</div>
|
|
<div class="controls">
|
|
<input type="submit" name="_yes" value="Yes"/> <input type="submit" name="_no" value="No"/>
|
|
</div>
|
|
</form>
|
|
{{ end }} |