Commit e54a2ba6 authored by Rémy Coutable's avatar Rémy Coutable Committed by Robert Speicher

Remove duplicate hidden_field and fix Rubocop

Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent 159f959b
......@@ -93,7 +93,6 @@
.light None
- if can?(current_user, :"admin_#{issuable.to_ability_name}", @project)
.selectbox.hide-collapsed
= hidden_field_tag "#{issuable.to_ability_name}[due_date]", issuable.due_date
= f.hidden_field :due_date, value: issuable.due_date
.dropdown
%button.dropdown-menu-toggle.js-due-date-select{ type: 'button', data: { toggle: 'dropdown', field_name: "#{issuable.to_ability_name}[due_date]", ability_name: issuable.to_ability_name, issue_update: issuable_json_path(issuable) } }
......
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