Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-07-29 22:06:59 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-07-29 22:06:59 +0400
commit8290e7cc70db5f62ae02c4e19c0e6193dafd35f0 (patch)
tree683389cb8d01e8eb08d3f93242f5267c88a810fa /app/views/projects/new.html.haml
parentf4205abb7725c96c1a967f5b3779e09c6e94a21d (diff)
Autofocus to project name at projects#new. Added description field to projects#new. Increased timeout for flash message
Diffstat (limited to 'app/views/projects/new.html.haml')
-rw-r--r--app/views/projects/new.html.haml10
1 files changed, 8 insertions, 2 deletions
diff --git a/app/views/projects/new.html.haml b/app/views/projects/new.html.haml
index 31343f5eb72..e45b2b5757e 100644
--- a/app/views/projects/new.html.haml
+++ b/app/views/projects/new.html.haml
@@ -7,8 +7,8 @@
= f.label :name do
Project name is
.input
- = f.text_field :name, placeholder: "Example Project", class: "xxlarge", tabindex: 1
- = f.submit 'Create project', class: "btn btn-create project-submit", tabindex: 3
+ = f.text_field :name, placeholder: "Example Project", class: "xxlarge", tabindex: 1, autofocus: true
+ = f.submit 'Create project', class: "btn btn-create project-submit", tabindex: 4
- if current_user.can_select_namespace?
.clearfix
@@ -29,6 +29,12 @@
= f.text_field :import_url, class: 'xlarge', placeholder: 'https://github.com/randx/six.git'
.light
URL must be cloneable
+ .clearfix
+ = f.label :description do
+ Description
+ %span.light (optional)
+ .input
+ = f.text_area :description, placeholder: "awesome project", class: "span5", rows: 3, maxlength: 250, tabindex: 3
%p.padded
New projects are private by default. You choose who can see the project and commit to repository.