firefly-iii/resources/views/profile/delete-account.twig

55 lines
1.9 KiB
Twig
Raw Normal View History

{% extends "./layout/default.twig" %}
2015-06-19 13:59:14 -05:00
{% block breadcrumbs %}
{{ Breadcrumbs.renderIfExists(Route.getCurrentRoute.getName) }}
2015-06-19 13:59:14 -05:00
{% endblock %}
{% block content %}
2015-06-21 03:50:45 -05:00
{{ Form.open({'class' : 'form-horizontal','id' : 'change-password'}) }}
<div class="row">
<div class="col-lg-6 col-md-12 col-sm-12">
<div class="box box-danger">
<div class="box-header with-border">
2015-07-26 00:39:04 -05:00
<h3 class="box-title">{{ 'delete_your_account'|_ }}</h3>
2015-06-21 03:50:45 -05:00
</div>
<div class="box-body">
<p class="text-danger">
2015-07-26 00:39:04 -05:00
{{ 'delete_your_account_help'|_ }}
2015-06-21 03:50:45 -05:00
</p>
<p class="text-danger">
2015-07-26 00:39:04 -05:00
{{ 'delete_your_account_password'|_ }}
2015-06-21 03:50:45 -05:00
</p>
{% if errors|length > 0 %}
<ul>
2016-04-10 10:51:51 -05:00
{% for error in errors.all %}
<li class="text-danger">{{ error }}</li>
{% endfor %}
</ul>
2015-06-21 03:50:45 -05:00
{% endif %}
<div class="form-group">
2015-07-26 00:39:04 -05:00
<label for="password" class="col-sm-4 control-label">{{ 'password'|_ }}</label>
2015-06-21 03:50:45 -05:00
<div class="col-sm-8">
2015-07-26 00:39:04 -05:00
<input type="password" class="form-control" id="password" placeholder="{{ 'password'|_ }}" name="password">
</div>
</div>
2015-06-21 03:50:45 -05:00
</div>
<div class="box-footer">
2015-07-26 00:39:04 -05:00
<button type="submit" onclick="confirm('{{ 'are_you_sure'|_ }}')" class="btn btn-danger pull-right">
{{ 'delete_account_button'|_ }}
2015-06-21 03:50:45 -05:00
</button>
</div>
</div>
</div>
</div>
2015-06-21 03:50:45 -05:00
{{ Form.close|raw }}
{% endblock %}