Updated if statement

This commit is contained in:
Phil Hughes
2016-05-16 10:35:14 +01:00
parent f6d321ae9c
commit d4777cd86b
+1 -1
View File
@@ -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"