Commit d4777cd8 authored by Phil Hughes's avatar Phil Hughes

Updated if statement

parent f6d321ae
......@@ -84,7 +84,7 @@
- if can? current_user, :admin_label, issuable.project
%br
= link_to 'Create new label', new_namespace_project_label_path(issuable.project.namespace, issuable.project), target: :blank, class: "prepend-top-5 inline"
- if issuable.has_attribute?(:due_date)
- if has_due_date
.col-lg-6
.form-group
= f.label :due_date, "Due date", class: "control-label"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment