Render Push levels dropdown
This commit is contained in:
parent
8d232b2f2b
commit
48150f273d
|
@ -1,5 +1,5 @@
|
||||||
%td
|
%td
|
||||||
= hidden_field_tag "allowed_to_push_#{protected_tag.id}", protected_tag.push_access_levels.first.access_level
|
= hidden_field_tag "allowed_to_push_#{protected_tag.id}", protected_tag.push_access_levels.first.access_level
|
||||||
/ = dropdown_tag( (protected_tag.push_access_levels.first.humanize || 'Select') ,
|
= dropdown_tag( (protected_tag.push_access_levels.first.humanize || 'Select') ,
|
||||||
/ options: { toggle_class: 'js-allowed-to-push', dropdown_class: 'dropdown-menu-selectable js-allowed-to-push-container',
|
options: { toggle_class: 'js-allowed-to-push', dropdown_class: 'dropdown-menu-selectable js-allowed-to-push-container',
|
||||||
/ data: { field_name: "allowed_to_push_#{protected_tag.id}", access_level_id: protected_tag.push_access_levels.first.id }})
|
data: { field_name: "allowed_to_push_#{protected_tag.id}", access_level_id: protected_tag.push_access_levels.first.id }})
|
||||||
|
|
Loading…
Reference in New Issue