Sha256: 8436f303742e803de72a72b351f42be00914ac11df49db6b2d564770d8f38b33

Contents?: true

Size: 928 Bytes

Versions: 16

Compression:

Stored size: 928 Bytes

Contents

<div class="mt-6" data-controller="unique-id" data-unique-id="<%= f.object.object_id %>">
  <label class="block text-sm leading-5 font-medium text-gray-700"><%= f.object.title %></label>
  <div class="mt-1 relative">
    <%= f.hidden_field :content, id: "#{f.object.object_id}_input" %>

    <div class="relative form-textarea p-4 pt-0 shadow-sm max-w-5xl" data-controller="trix" id="<%= "insert_#{f.object.object_id}_trix-toolbar" %>" data-action="media-picker:done->trix#insertAttachment">      
      <%= render Spina::Forms::TrixToolbarComponent.new("#{f.object.object_id}_trix-toolbar") %>
      
      <trix-editor class="prose prose-sm focus:outline-none max-w-3xl xl:border-r border-dashed border-gray-200 pr-3" toolbar="<%= f.object.object_id %>_trix-toolbar" input="<%= f.object.object_id %>_input" data-trix-target="editor" data-action="trix-file-accept->trix#preventDefault"></trix-editor>
    </div>
  </div>
</div>

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
spina-2.8.0 app/views/spina/admin/parts/texts/_form.html.erb
spina-2.7.0 app/views/spina/admin/parts/texts/_form.html.erb
spina-2.6.2 app/views/spina/admin/parts/texts/_form.html.erb
spina-2.6.1 app/views/spina/admin/parts/texts/_form.html.erb
spina-2.6.0 app/views/spina/admin/parts/texts/_form.html.erb
spina-2.5.0 app/views/spina/admin/parts/texts/_form.html.erb
spina-2.4.0 app/views/spina/admin/parts/texts/_form.html.erb
spina-2.3.5 app/views/spina/admin/parts/texts/_form.html.erb
spina-2.3.4 app/views/spina/admin/parts/texts/_form.html.erb
spina-2.3.3 app/views/spina/admin/parts/texts/_form.html.erb
spina-2.3.2 app/views/spina/admin/parts/texts/_form.html.erb
spina-2.3.1 app/views/spina/admin/parts/texts/_form.html.erb
spina-2.3.0 app/views/spina/admin/parts/texts/_form.html.erb
spina-2.2.0 app/views/spina/admin/parts/texts/_form.html.erb
spina-2.1.1 app/views/spina/admin/parts/texts/_form.html.erb
spina-2.1.0 app/views/spina/admin/parts/texts/_form.html.erb