title = "Agza bolmak"
url = "/register"
layout = "default"
is_hidden = 0

[account]
redirect = "index"
paramCode = "code"
forceSecure = 0
requirePassword = 0
==
<div class="breadcumb_area">
    <div class="container h-100">
        <div class="row h-100 align-items-center">
            <div class="col-12">
                <h5>Agza bolmak</h5>
                <ol class="breadcrumb">
                    <li class="breadcrumb-item"><a href="{{ 'index'|page }}">Esasy sahypa</a></li>
                    <li class="breadcrumb-item active">Agza bolmak</li>
                </ol>
            </div>
        </div>
    </div>
</div>
    
    
{% if not user %}
    {% if canRegister %}
        <div class="bigshop_reg_log_area section_padding_100_50">
            <div class="container">
                <div class="row">
                    <div class="col-12 col-md-12">
                        <div class="login_form mb-50">
                            <h5 class="mb-3">Agza bolmak</h5>
                            {{ form_ajax('onRegister') }}
                                <div class="form-group">
                                    <input type="text" class="form-control" name="name" id="registerName" placeholder="Ulanyjy">
                                </div>
                                <div class="form-group">
                                    <input type="text" class="form-control" name="username" id="registerEmail" placeholder="Telefon belgi">
                                    <input type="hidden" class="form-control" name="email" id="registerUsername" value="Ulanyjy">
                                </div>
                                <div class="form-group">
                                    <input type="password" class="form-control" name="password" id="registerPassword" placeholder="Açar söz">
                                </div>
                                <div class="form-group">
                                    <input type="password" class="form-control" name="password_confirmation" id="registerPasswordConfirmation" placeholder="Açar söz gaýtala">
                                </div>
                                <button type="submit" class="btn btn-primary btn-sm">Agza bolmak</button>
                            {{ form_close() }}
                            <div class="forget_pass mt-15">
                                Öň hasabyňyz barmy? <a href="{{ 'login'|page }}">Içeri girmek</a>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    {% endif %}
{% endif %}