Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Alto
/
rkn
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit 6dda7459
authored
2021-06-04 16:07:10 +0300
by
Скуратович Александр
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
переделал форму
1 parent
d2d8cabf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
views/filter/_form.php
views/filter/_form.php
View file @
6dda745
...
...
@@ -2,6 +2,7 @@
use
yii\helpers\Html
;
use
yii\widgets\ActiveForm
;
use
app\models\Filter
;
/* @var $this yii\web\View */
/* @var $model app\models\Filter */
...
...
@@ -16,11 +17,11 @@ use yii\widgets\ActiveForm;
<?=
$form
->
field
(
$model
,
'created'
)
->
textInput
()
?>
<?=
$form
->
field
(
$model
,
'include'
)
->
textInput
(
)
?>
<?=
$form
->
field
(
$model
,
'include'
,
[
'options'
=>
[
'class'
=>
'form-group col-xs-12'
]])
->
dropDownList
(
Filter
::
getIncludes
()
)
?>
<?=
$form
->
field
(
$model
,
'status'
)
->
textInput
(
)
?>
<?=
$form
->
field
(
$model
,
'status'
,
[
'options'
=>
[
'class'
=>
'form-group col-xs-12'
]])
->
dropDownList
(
Filter
::
getStatus
()
)
?>
<?=
$form
->
field
(
$model
,
'type'
)
->
textInput
(
)
?>
<?=
$form
->
field
(
$model
,
'type'
,
[
'options'
=>
[
'class'
=>
'form-group col-xs-12'
]])
->
dropDownList
(
Filter
::
getTypes
()
)
?>
<div
class=
"form-group"
>
<?=
Html
::
submitButton
(
'Save'
,
[
'class'
=>
'btn btn-success'
])
?>
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
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 post a comment