Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
taskonsite-архив-перенесен
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Packages
Packages
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Dmitry Korolev
taskonsite-архив-перенесен
Commits
8dccc2b9
Commit
8dccc2b9
authored
Feb 24, 2016
by
Олег Гиммельшпах
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix blog
parent
c18e637f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
5 deletions
+6
-5
common/modules/blog/views/post/_modals.php
common/modules/blog/views/post/_modals.php
+2
-2
frontend/web/css/custom.css
frontend/web/css/custom.css
+2
-1
frontend/web/js/connect-form.js
frontend/web/js/connect-form.js
+2
-2
No files found.
common/modules/blog/views/post/_modals.php
View file @
8dccc2b9
...
@@ -122,8 +122,8 @@ use common\modules\bids\models\Bid;
...
@@ -122,8 +122,8 @@ use common\modules\bids\models\Bid;
<?php
echo
$form
->
field
(
$model
,
'message'
)
->
textArea
([
<?php
echo
$form
->
field
(
$model
,
'message'
)
->
textArea
([
'placeholder'
=>
'Что хочу почитать?
'placeholder'
=>
'Что хочу почитать?
Например: Хочу почитать про то, как настраивается контекстная реклама.
Например: Хочу почитать про то, как настраивается контекстная реклама.
Про то как выставляются ставки.'
,
Про то как выставляются ставки.'
,
'class'
=>
'sect_cont_form__textarea'
'class'
=>
'sect_cont_form__textarea'
])
->
label
(
false
);
?>
])
->
label
(
false
);
?>
...
...
frontend/web/css/custom.css
View file @
8dccc2b9
...
@@ -5,7 +5,8 @@
...
@@ -5,7 +5,8 @@
.field-bid-file
{
.field-bid-file
{
margin
:
0
;
margin
:
0
;
}
}
.has-error
input
{
.has-error
input
,
.has-error
textarea
{
background
:
#fff
url(../images/icon-fail.png)
no-repeat
96%
center
!important
;
background
:
#fff
url(../images/icon-fail.png)
no-repeat
96%
center
!important
;
border
:
1px
solid
#E9A2A2
!important
;
border
:
1px
solid
#E9A2A2
!important
;
}
}
...
...
frontend/web/js/connect-form.js
View file @
8dccc2b9
...
@@ -32,6 +32,8 @@ $('form.bids-form').on('beforeSubmit', function(e) {
...
@@ -32,6 +32,8 @@ $('form.bids-form').on('beforeSubmit', function(e) {
var
response
=
xhr
.
responseText
;
var
response
=
xhr
.
responseText
;
}
}
form
.
find
(
'
.has-error
'
).
removeClass
(
'
has-error
'
);
if
(
response
.
success
)
if
(
response
.
success
)
{
{
form
.
find
(
'
input:not(.not_clear), textarea
'
).
val
(
''
);
form
.
find
(
'
input:not(.not_clear), textarea
'
).
val
(
''
);
...
@@ -43,8 +45,6 @@ $('form.bids-form').on('beforeSubmit', function(e) {
...
@@ -43,8 +45,6 @@ $('form.bids-form').on('beforeSubmit', function(e) {
'
Action
'
:
form
.
data
(
'
title
'
),
'
Action
'
:
form
.
data
(
'
title
'
),
'
Label
'
:
'
Успешно
'
'
Label
'
:
'
Успешно
'
});
});
form
.
find
(
'
.has-error
'
).
removeClass
(
'
has-error
'
);
}
}
else
else
{
{
...
...
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