Sha256: 050ab5fa43599a1b4dc51ff48242673271583355dc4662893ba2d1f5ff9b7cfa
Contents?: true
Size: 562 Bytes
Versions: 8
Compression:
Stored size: 562 Bytes
Contents
<% if authorized?(:update_site_on, entry) %> <%= form.input(:site, as: :searchable_select, ajax: { resource: Pageflow::Entry, collection_name: :eligible_sites, params: { account_id: entry.account_id } }, include_blank: false, wrapper_html: { style: ('display: none' if site_policy_scope.sites_allowed_for(entry.account).one?) }) %> <% end %>
Version data entries
8 entries across 8 versions & 1 rubygems