Sha256: e12ef7e79e84c6074c309ba85eda015a8c9e18e3d020f69a6bea6c8c51763f44
Contents?: true
Size: 531 Bytes
Versions: 72
Compression:
Stored size: 531 Bytes
Contents
<%= field_wrapper **field_wrapper_args 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
72 entries across 72 versions & 1 rubygems