<commit_before><?php

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

/* @var $this yii\web\View */
/* @var $model sfmobile\ext\messagesTranslationsManager\models\SourceMessage */
/* @var $form yii\widgets\ActiveForm */
?>

<div class="source-message-form">

    <?php $form = ActiveForm::begin(); ?>

    <?= $form->field($model, 'category')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'message')->textarea(['rows' => 6]) ?>

    <?php foreach($languages as $l) { ?>
        <?= $form->field($model, 'languages['.$l.']')->label('Lang '.$l)->textInput(['maxlength' => true]) ?>
    <?php } ?><commit_msg>Rendered translation input as text instead textarea<commit_after><?php

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

/* @var $this yii\web\View */
/* @var $model sfmobile\ext\messagesTranslationsManager\models\SourceMessage */
/* @var $form yii\widgets\ActiveForm */
?>

<div class="source-message-form">

    <?php $form = ActiveForm::begin(); ?>

    <?= $form->field($model, 'category')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'message')->textInput(['maxlength' => true]) ?>

    <?php foreach($languages as $l) { ?>
        <?= $form->field($model, 'languages['.$l.']')->label('Lang '.$l)->textInput(['maxlength' => true]) ?>
    <?php } ?>
{'fraction_non_alphanumeric': 0.24177505738332059, 'fraction_numerical': 0.0007651109410864575, 'mean_word_length': 4.295546558704453, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 39, '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': '3065784', 'n_tokens_mistral': 443, 'n_tokens_neox': 434, 'n_words': 74}