Ejemplo n.º 1
0
                </div>

            </div>

        <?php 
}
?>


        <hr>
        <?php 
echo CHtml::submitButton(Yii::t('SpaceModule.views_admin_members', "Save"), array('class' => 'btn btn-primary'));
?>

        <?php 
echo \humhub\widgets\DataSaved::widget();
?>

        <?php 
echo Chtml::endForm();
?>

    </div>
</div>

<?php 
if (count($space->applicants) != 0) {
    ?>
    <div class="panel panel-danger">
        <div class="panel-heading">
            <?php 
            <div class="form-group">
                <p>Users will receive a randomly suggested name made of a random first name and last name. </p>
                <ul>
                    <li>Options are separated by new lines.</li>
                    <li>For best results, use adjectives for first name options</li>
                </ul>
            </div>
            
            <div class="form-group">
                <!-- show flash message after saving -->
                <?php 
// $this->widget('application.widgets.DataSavedWidget');
?>
                <?php 
echo DataSaved::widget();
?>
                <?php 
echo $form->errorSummary($model);
?>
            </div>

            <div class="form-group">
                <?php 
echo $form->field($model, 'anonAccountsFirstNameOptions')->textarea(array('class' => 'form-control', 'rows' => '8'));
?>
                <?php 
//echo $form->textArea($model, 'anonAccountsFirstNameOptions', );
?>
                <?php 
//echo $form->errorSummary($model,'anonAccountsFirstNameOptions');