From d4777cd86b79e5db7b1e351444c26b72cdaad3db Mon Sep 17 00:00:00 2001 From: Phil Hughes Date: Mon, 25 Apr 2016 08:04:37 +0100 Subject: [PATCH] Updated if statement --- app/views/shared/issuable/_form.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/shared/issuable/_form.html.haml b/app/views/shared/issuable/_form.html.haml index 9ac5c0d9e4..d06a287281 100644 --- a/app/views/shared/issuable/_form.html.haml +++ b/app/views/shared/issuable/_form.html.haml @@ -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"