Focus project slug on tab navigation
This commit is contained in:
parent
c616327c12
commit
7696128510
2 changed files with 7 additions and 2 deletions
|
@ -33,7 +33,7 @@
|
||||||
.form-group.project-path.col-sm-6
|
.form-group.project-path.col-sm-6
|
||||||
= f.label :path, class: 'label-bold' do
|
= f.label :path, class: 'label-bold' do
|
||||||
%span= _("Project slug")
|
%span= _("Project slug")
|
||||||
= f.text_field :path, placeholder: "my-awesome-project", class: "form-control", tabindex: 2, required: true
|
= f.text_field :path, placeholder: "my-awesome-project", class: "form-control", required: true
|
||||||
- if current_user.can_create_group?
|
- if current_user.can_create_group?
|
||||||
.form-text.text-muted
|
.form-text.text-muted
|
||||||
Want to house several dependent projects under the same namespace?
|
Want to house several dependent projects under the same namespace?
|
||||||
|
@ -61,5 +61,5 @@
|
||||||
.option-description
|
.option-description
|
||||||
Allows you to immediately clone this project’s repository. Skip this if you plan to push up an existing repository.
|
Allows you to immediately clone this project’s repository. Skip this if you plan to push up an existing repository.
|
||||||
|
|
||||||
= f.submit 'Create project', class: "btn btn-success project-submit", tabindex: 4, data: { track_label: "#{track_label}", track_event: "click_button", track_property: "create_project", track_value: "" }
|
= f.submit 'Create project', class: "btn btn-success project-submit", data: { track_label: "#{track_label}", track_event: "click_button", track_property: "create_project", track_value: "" }
|
||||||
= link_to 'Cancel', dashboard_projects_path, class: 'btn btn-cancel', data: { track_label: "#{track_label}", track_event: "click_button", track_property: "cancel" }
|
= link_to 'Cancel', dashboard_projects_path, class: 'btn btn-cancel', data: { track_label: "#{track_label}", track_event: "click_button", track_property: "cancel" }
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
---
|
||||||
|
title: Focus project slug on tab navigation
|
||||||
|
merge_request: 22198
|
||||||
|
author:
|
||||||
|
type: other
|
Loading…
Reference in a new issue