Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
GitLab
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
projects.thm.de
GitLab
Commits
1a4c9118
Unverified
Commit
1a4c9118
authored
May 20, 2014
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix UI for wiki error message
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
9eb7fe6d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
app/views/projects/wikis/_form.html.haml
app/views/projects/wikis/_form.html.haml
+2
-3
No files found.
app/views/projects/wikis/_form.html.haml
View file @
1a4c9118
=
form_for
[
@project
,
@page
],
method:
@page
.
persisted?
?
:put
:
:post
,
html:
{
class:
'form-horizontal'
}
do
|
f
|
-
if
@page
.
errors
.
any?
#error_explanation
%h2
=
"
#{
pluralize
(
@page
.
errors
.
count
,
"error"
)
}
prohibited this wiki from being saved:"
%ul
.alert.alert-danger
-
@page
.
errors
.
full_messages
.
each
do
|
msg
|
%
li
=
msg
%
p
=
msg
=
f
.
hidden_field
:title
,
value:
@page
.
title
.form-group
...
...
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