Commit cd2535324378f44378d2a5e28f05d5df7bf9128f
1 parent
a6e57749
Exists in
master
and in
4 other branches
Allos specify repository name when create a project
Showing
3 changed files
with
24 additions
and
1 deletions
Show diff stats
app/assets/stylesheets/gitlab_bootstrap/forms.scss
app/assets/stylesheets/sections/projects.scss
app/views/projects/new.html.haml
... | ... | @@ -6,11 +6,23 @@ |
6 | 6 | New projects are private by default. You choose who can see the project and commit to repository. |
7 | 7 | %hr |
8 | 8 | = form_for @project, remote: true do |f| |
9 | - .control-group.project_name_holder | |
9 | + .control-group.project-name-holder | |
10 | 10 | = f.label :name do |
11 | 11 | %strong Project name is |
12 | 12 | .controls |
13 | 13 | = f.text_field :name, placeholder: "Example Project", class: "input-xlarge", tabindex: 1, autofocus: true |
14 | + %span.help-inline | |
15 | + = link_to "#", class: 'js-toggle-visibility-link' do | |
16 | + %span Custom repo name? | |
17 | + | |
18 | + .control-group.js-toggle-visibility-container.hide | |
19 | + = f.label :path do | |
20 | + %span Repository name | |
21 | + .controls | |
22 | + .input-append | |
23 | + = f.text_field :path | |
24 | + %span.add-on .git | |
25 | + | |
14 | 26 | |
15 | 27 | - if current_user.can_select_namespace? |
16 | 28 | .control-group | ... | ... |