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-primary">
|
|
|
|
<div class="box-header with-border">
|
2015-07-26 00:39:04 -05:00
|
|
|
<h3 class="box-title">{{ 'change_your_password'|_ }}</h3>
|
2015-06-21 03:50:45 -05:00
|
|
|
</div>
|
|
|
|
<div class="box-body">
|
2015-05-02 06:20:49 -05:00
|
|
|
|
2015-06-21 03:50:45 -05:00
|
|
|
{% 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">
|
2015-07-26 00:39:04 -05:00
|
|
|
<label for="inputOldPassword" class="col-sm-4 control-label">{{ 'current_password'|_ }}</label>
|
2015-06-21 03:50:45 -05:00
|
|
|
|
2015-05-02 06:20:49 -05:00
|
|
|
<div class="col-sm-8">
|
2015-07-26 00:39:04 -05:00
|
|
|
<input type="password" class="form-control" id="inputOldPassword" placeholder="{{ 'current_password'|_ }}" name="current_password">
|
2015-05-02 06:20:49 -05:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="form-group">
|
2015-07-26 00:39:04 -05:00
|
|
|
<label for="inputNewPassword1" class="col-sm-4 control-label">{{ 'new_password'|_ }}</label>
|
2015-06-21 03:50:45 -05:00
|
|
|
|
2015-05-02 06:20:49 -05:00
|
|
|
<div class="col-sm-8">
|
2015-07-26 00:39:04 -05:00
|
|
|
<input type="password" class="form-control" id="inputNewPassword1" placeholder="{{ 'new_password'|_ }}" name="new_password">
|
2015-05-02 06:20:49 -05:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="form-group">
|
2015-07-26 00:39:04 -05:00
|
|
|
<label for="inputNewPassword2" class="col-sm-4 control-label">{{ 'new_password_again'|_ }}</label>
|
2015-06-21 03:50:45 -05:00
|
|
|
|
2015-05-02 06:20:49 -05:00
|
|
|
<div class="col-sm-8">
|
2015-07-26 00:39:04 -05:00
|
|
|
<input type="password" class="form-control" id="inputNewPassword2" placeholder="{{ 'new_password_again'|_ }}"
|
2015-06-21 03:50:45 -05:00
|
|
|
name="new_password_confirmation">
|
2015-05-02 06:20:49 -05:00
|
|
|
</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" class="btn btn-success pull-right">{{ 'change_your_password'|_ }}</button>
|
2015-06-21 03:50:45 -05:00
|
|
|
</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 %}
|