Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gitlab-ce
Commits
3230df5f
Commit
3230df5f
authored
Jan 02, 2014
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Style new branch/tag forms
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
66a91c4f
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
+7
-7
app/views/projects/branches/new.html.haml
app/views/projects/branches/new.html.haml
+3
-3
app/views/projects/new.html.haml
app/views/projects/new.html.haml
+1
-1
app/views/projects/tags/new.html.haml
app/views/projects/tags/new.html.haml
+3
-3
No files found.
app/views/projects/branches/new.html.haml
View file @
3230df5f
%h3
.page-title
%i
.icon-code-fork
New branch
=
form_tag
project_branches_path
,
method: :post
do
=
form_tag
project_branches_path
,
method: :post
,
class:
"form-horizontal"
do
.form-group
=
label_tag
:branch_name
,
'Name for new branch'
,
class:
'control-label'
.col-sm-10
=
text_field_tag
:branch_name
,
nil
,
placeholder:
'feature/dashboard'
,
required:
true
,
tabindex:
1
=
text_field_tag
:branch_name
,
nil
,
placeholder:
'feature/dashboard'
,
required:
true
,
tabindex:
1
,
class:
'form-control'
.form-group
=
label_tag
:ref
,
'Create from'
,
class:
'control-label'
.col-sm-10
=
text_field_tag
:ref
,
nil
,
placeholder:
'master'
,
required:
true
,
tabindex:
2
=
text_field_tag
:ref
,
nil
,
placeholder:
'master'
,
required:
true
,
tabindex:
2
,
class:
'form-control'
.light
branch name or commit SHA
.form-actions
=
submit_tag
'Create branch'
,
class:
'btn btn-create'
,
tabindex:
3
...
...
app/views/projects/new.html.haml
View file @
3230df5f
...
...
@@ -9,7 +9,7 @@
%strong
Project name
.col-sm-10
=
f
.
text_field
:name
,
placeholder:
"Example Project"
,
class:
"form-control"
,
tabindex:
1
,
autofocus:
true
%span
.help-inline
.help-inline
=
link_to
"#"
,
class:
'js-toggle-visibility-link'
do
%span
Customize repository name?
...
...
app/views/projects/tags/new.html.haml
View file @
3230df5f
%h3
.page-title
%i
.icon-code-fork
New tag
=
form_tag
project_tags_path
,
method: :post
do
=
form_tag
project_tags_path
,
method: :post
,
class:
"form-horizontal"
do
.form-group
=
label_tag
:tag_name
,
'Name for new tag'
,
class:
'control-label'
.col-sm-10
=
text_field_tag
:tag_name
,
nil
,
placeholder:
'v3.0.1'
,
required:
true
,
tabindex:
1
=
text_field_tag
:tag_name
,
nil
,
placeholder:
'v3.0.1'
,
required:
true
,
tabindex:
1
,
class:
'form-control'
.form-group
=
label_tag
:ref
,
'Create from'
,
class:
'control-label'
.col-sm-10
=
text_field_tag
:ref
,
nil
,
placeholder:
'master'
,
required:
true
,
tabindex:
2
=
text_field_tag
:ref
,
nil
,
placeholder:
'master'
,
required:
true
,
tabindex:
2
,
class:
'form-control'
.light
Branch name or commit SHA
.form-actions
=
submit_tag
'Create tag'
,
class:
'btn btn-create'
,
tabindex:
3
...
...
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