Sha256: fe80d5cf097a66a63febce3e1ae6a3d509c09b28c9744c588749837c07461d2b
Contents?: true
Size: 554 Bytes
Versions: 85
Compression:
Stored size: 554 Bytes
Contents
<%= field_wrapper **field_wrapper_args do %> <% content_classes = 'trix-content py-2 max-w-4xl' content_classes << ' hidden' unless @field.always_show %> <div data-controller="hidden-input"> <% unless @field.always_show %> <%= link_to t('avo.show_content'), 'javascript:void(0);', class: 'font-bold inline-block', data: { action: 'click->hidden-input#showContent' } %> <% end %> <div class="<%= content_classes %> " data-hidden-input-target="content"> <%= sanitize @field.value.to_s %> </div> </div> <% end %>
Version data entries
85 entries across 85 versions & 1 rubygems