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 47deb47d
authored
2021-06-07 12:24:35 +0300
by
Скуратович Александр
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
форма редактирования
1 parent
7ffe17b9
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletions
views/host/_form.php
views/host/_form.php
View file @
47deb47
...
@@ -2,6 +2,7 @@
...
@@ -2,6 +2,7 @@
use
yii\helpers\Html
;
use
yii\helpers\Html
;
use
yii\widgets\ActiveForm
;
use
yii\widgets\ActiveForm
;
use
app\models\Host
;
/* @var $this yii\web\View */
/* @var $this yii\web\View */
/* @var $model app\models\Host */
/* @var $model app\models\Host */
...
@@ -24,7 +25,9 @@ use yii\widgets\ActiveForm;
...
@@ -24,7 +25,9 @@ use yii\widgets\ActiveForm;
<?=
$form
->
field
(
$model
,
'tix'
)
->
textInput
()
?>
<?=
$form
->
field
(
$model
,
'tix'
)
->
textInput
()
?>
<?=
$form
->
field
(
$model
,
'status'
)
->
textInput
()
?>
<?=
$form
->
field
(
$model
,
'wis_status'
,
[
'options'
=>
[
'class'
=>
'form-group col-xs-12'
]])
->
dropDownList
(
Host
::
getWisStatus
())
?>
<?=
$form
->
field
(
$model
,
'status'
,
[
'options'
=>
[
'class'
=>
'form-group col-xs-12'
]])
->
dropDownList
(
Host
::
getStatus
())
?>
<div
class=
"form-group"
>
<div
class=
"form-group"
>
<?=
Html
::
submitButton
(
'Save'
,
[
'class'
=>
'btn btn-success'
])
?>
<?=
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