
{{ header }}

<div id="content">
    <div class="container-fluid"><br />
        {% if error_warning %}
            <div class="col-sm-offset-4 col-sm-3 alert alert-danger alert-dismissible"><i class="fa fa-exclamation-circle"></i> {{ error_warning }}
                <button type="button" class="close" data-dismiss="alert">&times;</button>
            </div>
        {% endif %}
        <br />
        <div class="row">
            <div class="col-sm-offset-4 col-sm-3">
                <div class="panel panel-default">
                    <div class="panel-heading">
                        <h1 class="panel-title"><i class="fa fa-user"></i> Yeni Üyelik</h1>
                    </div>
            <div class="panel-body">
                <form action="{{ action }}" method="post" enctype="multipart/form-data" id="form-user" class="form-horizontal">


                    <div class="form-group required">
                        <div class="col-sm-12">
                            <label class=" control-label" for="input-firstname">Ad Soyad</label>

                            <input type="text" name="firstname" value="{{ firstname }}" placeholder="Ad soyad" id="input-firstname" class="form-control" />
                            {% if error_firstname %}
                                <div class="text-danger">{{ error_firstname }}</div>
                            {% endif %}
                        </div>
                    </div>

                    <div class="form-group required">
                        <div class="col-sm-12">
                            <label class="control-label" for="input-email">{{ entry_email }}</label>

                            <input type="text" name="email" value="{{ email }}" placeholder="{{ entry_email }}" id="input-email" class="form-control" />
                            {% if error_email %}
                                <div class="text-danger">{{ error_email }}</div>
                            {% endif %}
                        </div>
                    </div>
                    <div class="form-group required">
                        <div class="col-sm-12">
                            <label class=" control-label" for="input-password">{{ entry_password }}</label>
                            <input type="password" name="password" value="{{ password }}" placeholder="{{ entry_password }}" id="input-password" class="form-control" autocomplete="off" />
                            {% if error_password %}
                                <div class="text-danger">{{ error_password }}</div>
                            {% endif %}
                        </div>
                    </div>
                    <div class="form-group required">
                        <div class="col-sm-12">
                            <label class="control-label" for="input-confirm">{{ entry_confirm }}</label>

                            <input type="password" name="confirm" value="{{ confirm }}" placeholder="{{ entry_confirm }}" id="input-confirm" class="form-control" />
                            {% if error_confirm %}
                                <div class="text-danger">{{ error_confirm }}</div>
                            {% endif %}
                        </div>
                    </div>

                    <div class="form-group required">
                        <div class="col-sm-12">

                            <button type="submit" form="form-user" data-toggle="tooltip" title="Ücretsiz hesap oluştur" class="btn btn-lg btn-success btn-block"><i class="fa fa-user"></i> Ücretsiz Hesap Oluştur</button>

                        </div>
                    </div>

                </form>
            </div>
        </div>
    </div>
</div>
{{ footer }}