Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Y
yii2-widgets2-module
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
hrzg
yii2-widgets2-module
Commits
85be042e
Commit
85be042e
authored
May 24, 2016
by
Tobias Munk
Browse files
Options
Browse Files
Download
Plain Diff
Merge commit '
2835231d
'
parents
0445e194
2835231d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
_form.php
src/views/crud/widget/_form.php
+6
-2
No files found.
src/views/crud/widget/_form.php
View file @
85be042e
...
...
@@ -8,11 +8,13 @@
namespace
_
;
use
dmstr\bootstrap\Tabs
;
use
franciscomaya\sceditor\SCEditorAsset
;
use
insolita\wgadminlte\Box
;
use
Yii
;
use
yii\bootstrap\ActiveForm
;
use
yii\helpers\Html
;
SCEditorAsset
::
register
(
$this
);
/**
*
* @var yii\web\View $this
...
...
@@ -80,7 +82,7 @@ JS;
?>
<div
class=
"row"
>
<div
class=
"col-sm-
8
"
>
<div
class=
"col-sm-
9
"
>
<?php
Box
::
begin
()
?>
<?php
echo
$form
->
field
(
$model
,
'widget_template_id'
)
->
dropDownList
(
$model
::
optsWidgetTemplateId
(),
[
...
...
@@ -88,6 +90,7 @@ JS;
]
)
?>
<div
style=
"overflow: auto"
>
<?php
\yii\widgets\Pjax
::
begin
([
'id'
=>
'pjax-widget-form'
])
?>
<?php
echo
$form
->
field
(
$model
,
'default_properties_json'
)
->
widget
(
\beowulfenator\JsonEditor\JsonEditorWidget
::
className
(),
[
...
...
@@ -101,10 +104,11 @@ JS;
],
]);
?>
<?php
\yii\widgets\Pjax
::
end
()
?>
</div>
<?php
Box
::
end
()
?>
</div>
<div
class=
"col-sm-
4
"
>
<div
class=
"col-sm-
3
"
>
<?php
Box
::
begin
()
?>
<?php
echo
$form
->
field
(
$model
,
'status'
)
->
checkbox
()
?>
...
...
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