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

_initial_branch_name.html.haml « application_settings « admin « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: f881808e51fe3a5f024380e8b1d907b5ed1ffb8a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
= form_for @application_setting, url: general_admin_application_settings_path(anchor: 'js-default-branch-name'), html: { class: 'fieldset-form' } do |f|
  = form_errors(@application_setting)

  - fallback_branch_name = "<code>#{Gitlab::DefaultBranch.value}</code>"

  %fieldset
    .form-group
      = f.label :default_branch_name, _('Default initial branch name'), class: 'label-light'
      = f.text_field :default_branch_name, placeholder: Gitlab::DefaultBranch.value, class: 'form-control gl-form-input'
      %span.form-text.text-muted
        = (_("Changes affect new repositories only. If not specified, Git's default name %{branch_name_default} will be used.") % { branch_name_default: fallback_branch_name } ).html_safe

  = f.submit _('Save changes'), class: 'gl-button btn-confirm'