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:
authorMetalaka <matthieu.de.laubrie@gmail.com>2014-05-19 01:21:51 +0400
committerMetalaka <matthieu.de.laubrie@gmail.com>2014-05-19 01:21:51 +0400
commit4593a0bc22d628f96e87fbb8446078a9bad2c678 (patch)
tree0791b65709581a7e0263d8ac938b17c62178b912 /app/views/groups/new.html.haml
parent6dfd88a145b7c7f9dc798d888a2aa4ad5c1c54b7 (diff)
Add autofocus and tabindex.
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 955a107e542..d59b03a29f0 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
.col-sm-2
@@ -24,6 +24,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 \ No newline at end of file