Skip to content
This repository has been archived by the owner on Mar 22, 2024. It is now read-only.

add language pt-BR and ActiveForm $model #6

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

add language pt-BR and ActiveForm $model #6

wants to merge 1 commit into from

Conversation

marcosmessias
Copy link

add language pt-BR and ActiveForm $model.

ActiveForm $model exemple:

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

<?= $form->field($model, 'form-builder')->widget(FormBuilder::className(), [
       'language' => 'pt-BR'
]); ?>

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

@@ -51,6 +51,10 @@ class FormBuilder extends Widget
private $view;

private $arrayToTypeFunction;

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@marcosmessias Thanks for your PR! Could you reformat the code to use 4 spaces as indentation, please?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants