oef/templates/layout/show_header.html.tpl

18 lines
480 B
Smarty
Raw Permalink Normal View History

2019-11-04 15:00:46 +01:00
{{define "show_header"}}
<div class="karmen-info-header">
<div class="row">
<div class="col-md-8">
<h1>{{.title}}</h1>
</div>
<div class="col-md-4">
<div class="btn-group float-right" role="group">
2019-12-19 07:38:10 +01:00
{{template "update_button" dict "updateButtonTitle" .options.updateButtonTitle "modelPath" .updatePath}}
{{if .deletePath}}
2019-11-04 15:00:46 +01:00
{{template "delete_button" dict "modelPath" .deletePath}}
{{end}}
2019-11-04 15:00:46 +01:00
</div>
</div>
</div>
</div>
{{end}}