diff options
author | Phil Hughes <me@iamphill.com> | 2016-04-25 08:04:37 +0100 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2016-05-16 10:35:14 +0100 |
commit | d4777cd86b79e5db7b1e351444c26b72cdaad3db (patch) | |
tree | a7cdd374604b2cf5bab0934d829334ae7240c958 /app | |
parent | f6d321ae9cd9f751952e0ff2eda9718eecdc4bf1 (diff) | |
download | gitlab-ce-d4777cd86b79e5db7b1e351444c26b72cdaad3db.tar.gz |
Updated if statement
Diffstat (limited to 'app')
-rw-r--r-- | app/views/shared/issuable/_form.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/shared/issuable/_form.html.haml b/app/views/shared/issuable/_form.html.haml index 9ac5c0d9e4d..d06a287281a 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" |