Files
ubicloud/views/components/form/policy_select.erb
Jeremy Evans e6b7e5e879 Change rubocop TargetRubyVersion to 3.4
Disable Style/RedundantLineContinuation, as it incorrectly removes
line continutations in rhizome/host/lib/vm_setup.rb that are not
redundant.

All code changes are for _1 => it in blocks.
2025-04-26 06:51:19 +09:00

12 lines
287 B
Plaintext

<%# locals: (name:, selected:, id: name) %>
<%== part(
"components/form/select",
name:,
id:,
options: [["", "No access", nil, {}]].concat(
@allowed_view_tag_names.map { [it, it, nil, @allowed_add_tag_names_map.include?(it) ? {} : { disabled: true }] }
),
selected:
) %>