Sha256: 8ec21aade76b8bbf4655823bad1fa799ebdf18d3a9aa83e7c2ecb9ab97b5abae
Contents?: true
Size: 557 Bytes
Versions: 56
Compression:
Stored size: 557 Bytes
Contents
<%= field_wrapper **field_wrapper_args do %> <% content_classes = 'tiptap__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
56 entries across 56 versions & 1 rubygems