BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
ca016903
Commit
ca016903
authored
Dec 02, 2015
by
Douwe Maan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add cancel button to forms that didn't have one already
parent
67119e15
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
5 deletions
+6
-5
new.html.haml
app/views/groups/new.html.haml
+1
-0
show.html.haml
app/views/profiles/show.html.haml
+3
-5
new.html.haml
app/views/projects/new.html.haml
+1
-0
_form.html.haml
app/views/projects/services/_form.html.haml
+1
-0
No files found.
app/views/groups/new.html.haml
View file @
ca016903
...
...
@@ -23,3 +23,4 @@
.form-actions
=
f
.
submit
'Create group'
,
class:
"btn btn-create"
,
tabindex:
3
=
link_to
'Cancel'
,
dashboard_groups_path
,
class:
'btn btn-cancel'
app/views/profiles/show.html.haml
View file @
ca016903
...
...
@@ -96,8 +96,6 @@
=
link_to
'Remove avatar'
,
profile_avatar_path
,
data:
{
confirm:
"Avatar will be removed. Are you sure?"
},
method: :delete
,
class:
"btn btn-remove btn-sm remove-avatar"
.row
.col-md-7
.form-group
.col-sm-offset-2.col-sm-10
=
f
.
submit
'Save changes'
,
class:
"btn btn-success"
.form-actions
=
f
.
submit
'Save changes'
,
class:
"btn btn-success"
=
link_to
"Cancel"
,
user_path
(
current_user
),
class:
"btn btn-cancel"
app/views/projects/new.html.haml
View file @
ca016903
...
...
@@ -100,6 +100,7 @@
.form-actions
=
f
.
submit
'Create project'
,
class:
"btn btn-create project-submit"
,
tabindex:
4
=
link_to
'Cancel'
,
dashboard_projects_path
,
class:
'btn btn-cancel'
-
if
current_user
.
can_create_group?
.pull-right
...
...
app/views/projects/services/_form.html.haml
View file @
ca016903
...
...
@@ -15,3 +15,4 @@
-
if
@service
.
valid?
&&
@service
.
activated?
-
disabled
=
@service
.
can_test?
?
''
:
'disabled'
=
link_to
'Test settings'
,
test_namespace_project_service_path
(
@project
.
namespace
,
@project
,
@service
.
to_param
),
class:
"btn
#{
disabled
}
"
=
link_to
"Cancel"
,
namespace_project_services_path
(
@project
.
namespace
,
@project
),
class:
"btn btn-cancel"
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