Skip to content
Snippets Groups Projects
warp_pay.html 1.68 KiB
{% load i18n %}

<div>
    <br />
    {% if error_warp_pay_settings %}
        <div class="alert alert-danger">{{ error_warp_pay_settings }}</div><br>
    {% endif %}
    {% if success_warp_pay_settings %}
        <div class="alert alert-success">{% trans "settings_changed_successful" %}</div><br>
    {% endif %}
    
    <form class="form-horizontal" method="POST" action="/account/profile/warp_pay/" role="form">
        {% csrf_token %}
        <div class="form-group">
            <label class="control-label col-sm-2 col-lg-2 " for="id_curr_pw">{% trans "current_password" %}</label>
            <div class=" col-sm-10 col-lg-10 ">
                <input class=" form-control" id="id_curr_pw" name="curr_pw" type="password" />
            </div>
        </div>
        <div class="form-group">
            <label class="control-label col-sm-2 col-lg-2 " for="id_new_pin">{% trans "new_pin_code" %}</label>
            <div class=" col-sm-10 col-lg-10 ">
                <input class=" form-control" id="id_new_pin" name="new_pin" type="password" />
            </div>
        </div>
        <div class="form-group">
            <label class="control-label col-sm-2 col-lg-2 " for="id_new_pin_confirm">{% trans "confirm_pin_code" %}</label>
            <div class=" col-sm-10 col-lg-10 ">
                <input class=" form-control" id="id_new_pin_confirm" name="new_pin_confirm" type="password" />
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-offset-2 col-sm-10">
                <button style="float: left" type="submit" formmethod="post" class="btn btn-primary">{% trans "save_settings" %}</button>
            </div>
        </div>
    </form>
</div>