Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
skeeks
/
cms-module-reviews
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Merge Requests
0
Members
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
e44b8909
authored
Apr 21, 2015
by
semenov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Доработка модуля
parent
605f1d57
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
Module.php
+1
-1
views/admin-reviews/_form.php
+4
-2
No files found.
Module.php
View file @
e44b8909
...
...
@@ -17,7 +17,7 @@ class Module extends CmsModule
protected
function
_descriptor
()
{
return
array_merge
(
parent
::
_descriptor
(),
[
"version"
=>
"1.0.
3
"
,
"version"
=>
"1.0.
4
"
,
"name"
=>
"Модуль отзывов"
,
]);
}
...
...
views/admin-reviews/_form.php
View file @
e44b8909
...
...
@@ -6,7 +6,7 @@ use skeeks\cms\models\Tree;
use
skeeks\cms\modules\admin\widgets\Pjax
;
/* @var $this yii\web\View */
/* @var $model
Tree
*/
/* @var $model
\skeeks\modules\cms\reviews\models\Reviews
*/
?>
<?php
$form
=
ActiveForm
::
begin
();
?>
...
...
@@ -17,7 +17,9 @@ use skeeks\cms\modules\admin\widgets\Pjax;
<?=
$form
->
field
(
$model
,
'phone'
)
->
textInput
([
'maxlength'
=>
255
])
?>
<?=
$form
->
field
(
$model
,
'email'
)
->
textInput
([
'maxlength'
=>
255
])
?>
<?=
$form
->
field
(
$model
,
'text'
)
->
textarea
()
?>
<?=
$form
->
field
(
$model
,
'url'
)
->
textInput
([
'maxlength'
=>
255
])
?>
<?=
$form
->
field
(
$model
,
'status'
)
->
widget
(
\skeeks\widget\chosen\Chosen
::
className
(),
[
'items'
=>
$model
->
getPossibleStatuses
()
]);
?>
<?=
$form
->
buttonsCreateOrUpdate
(
$model
);
?>
...
...
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