<?php

use yii\helpers\Html;
use yii\widgets\ActiveForm;
use yii\captcha\Captcha;

/* @var $this yii\web\View */
/* @var $model app\models\OrganizerForm */
/* @var $form ActiveForm */

$this->title = Yii::t('app', 'Register as Organizer');
$this->params['breadcrumbs'][] = $this->title;
?>

<div class="row">
    <div class="col-md-8 col-md-offset-2">
        <div class="panel panel-primary">
            <div class="panel-heading"><span class="glyphicon glyphicon-globe"></span><strong> <?= Html::encode($this->title) ?></strong></div>
            <div class="panel-body">

                <?php $form = ActiveForm::begin(); ?>
                <?= $form->field($model, 'user_id')->hiddenInput(['value'=>Yii::$app->user->identity->id])->label(false) ?>
                <?= $form->field($model, 'role')->hiddenInput(['value'=> 1])->label(false) ?>
                <?= $form->field($model, 'firma_full') ?>
                <?= $form->field($model, 'inn') ?>
                <?= $form->field($model, 'zkpo') ?>
                <?= $form->field($model, 'u_address') ?>
                <?= $form->field($model, 'f_address') ?>
                <?= $form->field($model, 'member')->textInput()->label(Yii::t('app','MemberFrom ID')) ?>
                <?= $form->field($model, 'phone') ?>
                <?= $form->field($model, 'fax') ?>
                <?= $form->field($model, 'member_email') ?>
                <?= $form->field($model, 'site') ?>

                <div class="form-group">
                    <?= Html::submitButton(Yii::t('app', 'Submit'), ['class' => 'btn btn-primary']) ?>
                </div>
                <?php ActiveForm::end(); ?>
            </div>
        </div>
    </div>
</div>
