blob: 18bef523168676832e60c17b28170a2f5534edc9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
= gitlab_ui_form_for [:admin, @project] do |f|
= form_errors(@project)
= render ::Layouts::HorizontalSectionComponent.new(options: { class: 'gl-pb-3 gl-mb-6' }) do |c|
= c.title { _('Naming') }
= c.description do
= _('Update your project name and description.')
= c.body do
.form-group.gl-form-group
= f.label :name, _('Project name')
= f.text_field :name, class: 'form-control gl-form-input gl-md-form-input-md'
.form-group.gl-form-group
= f.label :id, _('Project ID')
= f.text_field :id, class: 'form-control gl-form-input gl-md-form-input-sm', readonly: true
.form-group.gl-form-group
= f.label :description, _('Project description (optional)')
= f.text_area :description, class: 'form-control gl-form-input gl-form-textarea gl-lg-form-input-xl', rows: 5
.gl-mt-5
= f.submit _('Save changes'), pajamas_button: true
= render Pajamas::ButtonComponent.new(href: admin_project_path(@project)) do
= _('Cancel')
|