2015-05-02 06:20:49 -05:00
|
|
|
{% extends "./layout/default.twig" %}
|
2015-06-19 13:59:14 -05:00
|
|
|
|
|
|
|
{% block breadcrumbs %}
|
2015-05-02 06:20:49 -05:00
|
|
|
{{ 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">
|
|
|
|
<h3 class="box-title">Delete your account</h3>
|
|
|
|
</div>
|
|
|
|
<div class="box-body">
|
|
|
|
|
|
|
|
<p class="text-danger">
|
|
|
|
Deleting your account will also delete any accounts, transactions, <em>anything</em>
|
|
|
|
you might have saved into Firefly III. It'll be GONE.
|
|
|
|
</p>
|
|
|
|
|
|
|
|
<p class="text-danger">
|
|
|
|
Enter your password to continue.
|
|
|
|
</p>
|
|
|
|
|
|
|
|
{% if errors|length > 0 %}
|
2015-05-02 06:20:49 -05:00
|
|
|
<ul>
|
2015-06-21 03:50:45 -05:00
|
|
|
<ul>
|
|
|
|
{% for error in errors.all %}
|
|
|
|
<li class="text-danger">{{ error }}</li>
|
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
2015-05-02 06:20:49 -05:00
|
|
|
</ul>
|
|
|
|
|
2015-06-21 03:50:45 -05:00
|
|
|
{% endif %}
|
2015-05-02 06:20:49 -05:00
|
|
|
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="password" class="col-sm-4 control-label">Password</label>
|
2015-06-21 03:50:45 -05:00
|
|
|
|
2015-05-02 06:20:49 -05:00
|
|
|
<div class="col-sm-8">
|
|
|
|
<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">
|
|
|
|
<button type="submit" onclick="confirm('Are you sure? You cannot undo this.')" class="btn btn-danger pull-right">DELETE your account
|
|
|
|
</button>
|
|
|
|
</div>
|
2015-05-02 06:20:49 -05:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2015-06-21 03:50:45 -05:00
|
|
|
{{ Form.close|raw }}
|
|
|
|
|
2015-05-05 05:51:57 -05:00
|
|
|
{% endblock %}
|