Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Y
yii2bootstrap
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
夏彬
yii2bootstrap
Commits
8310e224
Commit
8310e224
authored
Feb 24, 2015
by
pana1990
Committed by
Carsten Brandt
Feb 24, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove double slash in the comment [skip ci]
close #7429
parent
478254d3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
ActiveField.php
ActiveField.php
+9
-9
No files found.
ActiveField.php
View file @
8310e224
...
...
@@ -71,17 +71,17 @@ use yii\helpers\ArrayHelper;
* ]);
*
* // With 'default' layout you would use 'template' to size a specific field:
*
//
echo $form->field($model, 'demo', [
*
//
'template' => '{label} <div class="row"><div class="col-sm-4">{input}{error}{hint}</div></div>'
*
//
]);
* echo $form->field($model, 'demo', [
* 'template' => '{label} <div class="row"><div class="col-sm-4">{input}{error}{hint}</div></div>'
* ]);
*
*
// Input group
*
echo $form->field($model, 'demo', [
*
'inputTemplate' => '<div class="input-group"><span class="input-group-addon">@</span>{input}</div>',
*
]);
* // Input group
* echo $form->field($model, 'demo', [
* 'inputTemplate' => '<div class="input-group"><span class="input-group-addon">@</span>{input}</div>',
* ]);
*
*
ActiveForm::end();
*
```
* ActiveForm::end();
* ```
*
* @see \yii\bootstrap\ActiveForm
* @see http://getbootstrap.com/css/#forms
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment