diff options
author | Ciro Santilli <ciro.santilli@gmail.com> | 2014-09-20 18:02:01 +0200 |
---|---|---|
committer | Ciro Santilli <ciro.santilli@gmail.com> | 2014-09-20 18:02:01 +0200 |
commit | eb033aa60ec572da447871daf5f1f171439ae5e2 (patch) | |
tree | 8f5cea2f20257d0f73ca4d0b853b5676fa66ee13 /app/views/projects/issues/_form.html.haml | |
parent | ac516abe957d9cf0c1ce7ec80fa47eebf6ace0d4 (diff) | |
download | gitlab-ce-eb033aa60ec572da447871daf5f1f171439ae5e2.tar.gz |
Factor issue and MR edit form error list.
Diffstat (limited to 'app/views/projects/issues/_form.html.haml')
-rw-r--r-- | app/views/projects/issues/_form.html.haml | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/app/views/projects/issues/_form.html.haml b/app/views/projects/issues/_form.html.haml index d063f92e87f..a4a6b0005c7 100644 --- a/app/views/projects/issues/_form.html.haml +++ b/app/views/projects/issues/_form.html.haml @@ -9,13 +9,6 @@ = "Please review the <strong>#{link_to "guidelines for contribution", contribution_guide_url}</strong> to this repository.".html_safe = form_for [@project, @issue], html: { class: 'form-horizontal issue-form' } do |f| - -if @issue.errors.any? - .row - .col-sm-10.col-sm-offset-2 - .alert.alert-danger - - @issue.errors.full_messages.each do |msg| - %span= msg - %br = render 'projects/issuable_form', f: f, issuable: @issue .form-group = f.label :label_ids, class: 'control-label' do |