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

_description.html.haml « form « issuable « shared « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: dbace9ce401def7c371d6759f559a034a02dca7b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
- issuable = local_assigns.fetch(:issuable)
- form = local_assigns.fetch(:form)

.form-group.detail-page-description
  = form.label :description, 'Description', class: 'control-label'
  .col-sm-10

    = render layout: 'projects/md_preview', locals: { preview_class: "md-preview", referenced_users: true } do
      = render 'projects/zen', f: form, attr: :description,
                               classes: 'note-textarea',
                               placeholder: "Write a comment or drag your files here...",
                               supports_slash_commands: !issuable.persisted?
      = render 'projects/notes/hints', supports_slash_commands: !issuable.persisted?
      .clearfix
      .error-alert