<?php

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

/* @var $this yii\web\View */
/* @var $model app\models\Category */
/* @var $form ActiveForm */
?>
<div class="row">
    <h3 class="text-info">Ajouter une catégorie</h3>
    <hr>
    <div class="col-md-4 col-md-offset-4">
        <?php $form = ActiveForm::begin(); ?>
            <?= $form->field($categorie, 'name')->label('Titre*') ?>    
            <div class="form-group">
                <?= Html::submitButton('Valider', ['class' => 'btn btn-primary']) ?>
            </div>
        <?php ActiveForm::end(); ?>
    </div>
</div><!-- categories-create -->
