engelsystem/resources/views/admin/user/delete-worklog.twig

22 lines
739 B
Twig
Raw Normal View History

2022-12-08 17:40:24 +01:00
{% extends "layouts/app.twig" %}
{% import 'macros/base.twig' as m %}
{% import 'macros/form.twig' as f %}
{% block title %}{{ __('worklog.delete') }}{% endblock %}
{% block content %}
<div class="container">
<h1>{{ block('title') }}</h1>
<form method="post">
{{ csrf() }}
<div class="row">
<div class="col-md-12">
{{ m.alert(__('worklog.delete.info', [m.user(userdata)]), 'danger', true) }}
2024-05-21 19:05:33 +02:00
{{ m.button(__('form.cancel'), url('/users?action=view&user_id=' ~ userdata.id), {'icon_left': 'x-lg'}) }}
{{ f.delete(__('form.delete')) }}
2022-12-08 17:40:24 +01:00
</div>
</div>
</form>
</div>
{% endblock %}