<commit_before><?php

use frontend\modules\bbii\models\BbiiTopic;
//use frontend\modules\bbii\models\BbiiMembergroup;

use yii\bootstrap\ActiveForm;
use yii\helpers\ArrayHelper;
use yii\helpers\Html;

/* @var $this SettingController */
/* @var $model BbiiForum */
/* @var $form ActiveForm */
?>

<?php echo $this->render('../template/_header'); ?>

<br />

<div class="well clearfix">

	<?php $form = ActiveForm::begin([
		'enableAjaxValidation'   => false,
		'enableClientValidation' => false,
		'id'                     => 'edit-topic-form',
	]); ?>

		<div>
			<?php echo $form->field($model,'id')->hiddenInput(); ?>
		</div>

		<div>
			<?php echo $form->field($model,'forum_id')->textInput(); ?>
		</div>

		<div>
			<?php echo $form->field($model,'user_id')->textInput(); ?>
		</div>

		<div>
			<?php echo $form->field($model,'title')->textInput(); ?>
		</div>

		<div>
			<?php echo $form->field($model,'first_post_id')->textInput(); ?>
		</div>

		<div>
			<?php echo $form->field($model,'last_post_id')->textInput(); ?>
		</div>

		<div>
			<?php echo $form->field($model,'num_replies')->textInput(); ?>
		</div>

		<div>
			<?php echo $form->field($model,'num_views')->textInput(); ?>
		</div>

		<div>
			<?php echo $form->field($model,'approved')->textInput(); ?>
		</div>

		<div>
			<?php echo $form->field($model,'locked')->textInput(); ?>
		</div>

		<div>
			<?php echo $form->field($model,'sticky')->textInput(); ?>
		</div>

		<div>
			<?php echo $form->field($model,'global')->textInput(); ?>
		</div>

		<div>
			<?php //echo $form->field($model,'upvotws')->textInput(); ?>
		</div>

		<div class = "button">
			<?php echo Html::submitButton(Yii::t('BbiiModule.bbii','Save'), array('class' => 'btn btn-success btn-lg')); ?>
		</div>
	<?php ActiveForm::end(); ?>

</div><!-- form --><commit_msg>New iteration of bootstrap styles around content<commit_after><?php

use frontend\modules\bbii\models\BbiiTopic;
//use frontend\modules\bbii\models\BbiiMembergroup;

use yii\bootstrap\ActiveForm;
use yii\helpers\ArrayHelper;
use yii\helpers\Html;

/* @var $this SettingController */
/* @var $model BbiiForum */
/* @var $form ActiveForm */

$this->title = Yii::t('forum', 'Forum');
$this->params['breadcrumbs'][] = $this->title;

$this->context->bbii_breadcrumbs = array(
	Yii::t('BbiiModule.bbii', 'Forum') => array('forum/index'),
	Yii::t('BbiiModule.bbii', 'Settings') => array('setting/index'),
	Yii::t('BbiiModule.bbii', 'Moderators')
);

?>

<div class="well clearfix">

    <?php echo $this->render('../template/_header'); ?>

    <br />

    <?php $form = ActiveForm::begin([
        'enableAjaxValidation'   => false,
        'enableClientValidation' => false,
        'id'                     => 'edit-topic-form',
    ]); ?>

        <div>
            <?php echo $form->field($model,'id')->hiddenInput(); ?>
        </div>

        <div>
            <?php echo $form->field($model,'forum_id')->textInput(); ?>
        </div>

        <div>
            <?php echo $form->field($model,'user_id')->textInput(); ?>
        </div>

        <div>
            <?php echo $form->field($model,'title')->textInput(); ?>
        </div>

        <div>
            <?php echo $form->field($model,'first_post_id')->textInput(); ?>
        </div>

        <div>
            <?php echo $form->field($model,'last_post_id')->textInput(); ?>
        </div>

        <div>
            <?php echo $form->field($model,'num_replies')->textInput(); ?>
        </div>

        <div>
            <?php echo $form->field($model,'num_views')->textInput(); ?>
        </div>

        <div>
            <?php echo $form->field($model,'approved')->textInput(); ?>
        </div>

        <div>
            <?php echo $form->field($model,'locked')->textInput(); ?>
        </div>

        <div>
            <?php echo $form->field($model,'sticky')->textInput(); ?>
        </div>

        <div>
            <?php echo $form->field($model,'global')->textInput(); ?>
        </div>

        <div>
            <?php //echo $form->field($model,'upvotws')->textInput(); ?>
        </div>

        <div class = "button">
            <?php echo Html::submitButton(Yii::t('BbiiModule.bbii','Save'), array('class' => 'btn btn-success btn-lg')); ?>
        </div>

    <?php ActiveForm::end(); ?>

</div>
{'fraction_non_alphanumeric': 0.23227611940298507, 'fraction_numerical': 0.0, 'mean_word_length': 2.8090586145648313, 'pattern_counts': {'":': 0, '<': 102, '<?xml version=': 0, '>': 171, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6250783', 'n_tokens_mistral': 1532, 'n_tokens_neox': 1440, 'n_words': 252}