Sha256: c07adfa7ce03dfd2078e2d28545c8e37f8e0ca7c21ca5b2537c15bf3a9dd66fb
Contents?: true
Size: 565 Bytes
Versions: 57
Compression:
Stored size: 565 Bytes
Contents
<%= show_field_wrapper field: @field, resource: @resource, index: @index do %> <% content_classes = 'trix-content py-2' 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"> <%== @field.value %> </div> </div> <% end %>
Version data entries
57 entries across 57 versions & 1 rubygems