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>2014-06-24 10:45:38 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-06-24 10:45:38 +0400
commitddd8f707fc759c9b884df7ab4fd65dba439541b9 (patch)
treed9df5e22547232a1d27a9727f40ce3f33a057861 /app/views/groups/new.html.haml
parent5c23bb1171a22ccb63ba7ba56ecc87e0d6f72666 (diff)
parent4593a0bc22d628f96e87fbb8446078a9bad2c678 (diff)
Merge branch 'patch-2' into 'master'
Add autofocus and tabindex to newGroup. Hi, I've increase accessibility with a autofocus and tabindex on the new group view (like new project).
Diffstat (limited to 'app/views/groups/new.html.haml')
-rw-r--r--app/views/groups/new.html.haml8
1 files changed, 3 insertions, 5 deletions
diff --git a/app/views/groups/new.html.haml b/app/views/groups/new.html.haml
index ebf5e8571aa..cdc087f949a 100644
--- a/app/views/groups/new.html.haml
+++ b/app/views/groups/new.html.haml
@@ -6,12 +6,12 @@
= f.label :name, class: 'control-label' do
Group name
.col-sm-10
- = f.text_field :name, placeholder: "Ex. OpenSource", class: "form-control"
+ = f.text_field :name, placeholder: "Ex. OpenSource", class: "form-control", tabindex: 1, autofocus: true
.form-group.group-description-holder
= f.label :description, "Details", class: 'control-label'
.col-sm-10
- = f.text_area :description, maxlength: 250, class: "form-control js-gfm-input", rows: 4
+ = f.text_area :description, maxlength: 250, class: "form-control js-gfm-input", rows: 4, tabindex: 2
.form-group.group-description-holder
= f.label :avatar, "Group avatar", class: 'control-label'
@@ -35,6 +35,4 @@
%li Existing projects may be moved into a group
.form-actions
- = f.submit 'Create group', class: "btn btn-create"
-
-
+ = f.submit 'Create group', class: "btn btn-create", tabindex: 3