Sha256: b635ed7cd9e36d0366da4d08a2c8d96b7fbbc3a9c0000bc723cd989b3c02d3a0

Contents?: true

Size: 1.25 KB

Versions: 24

Compression:

Stored size: 1.25 KB

Contents

<%= render(Ariadne::BaseComponent.new(tag: @tag, classes: @classes, attributes: @attributes)) do %>
  <div class="ariadne-bg-white" data-comment-component-target="commentComponent">
    <div class="ariadne-hidden sm:ariadne-block">
      <div class="ariadne-border-b ariadne-border-gray-200">
        <%= render(Ariadne::TabBarComponent.new(sr_label: @sr_label, attributes: { :"data-comment-component-target" => "tabBarComponent" })) do |tab_bar| %>
          <%= public_tab %>
          <%= internal_tab %>
        <% end %>
      </div>
    </div>
    <%= ariadne_form_with(url: @url, method: @method, classes: @classes, attributes: @attributes) do |comment_box| %>
      <div class="ariadne-overflow-hidden ariadne-border-x ariadne-border-b ariadne-border-gray-300 ariadne-shadow-sm focus-within:ariadne-border-indigo-500 focus-within:ariadne-ring-1 focus-within:ariadne-ring-indigo-500">
        <%= hidden_field_tag 'message_public', true  %>
        <%= render(Ariadne::RichTextAreaComponent.new(name: :bodytext, sr_label: "Select reply type", attributes: { required: true}))  %>
        <% comment_box.submit { @submit } %>
      </div>
      <div class="ariadne-mt-2 ariadne-flex ariadne-justify-end">
        <%= submit %>
      </div>
    <% end %>
  </div>
<% end %>

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
ariadne_view_components-0.0.12 app/components/ariadne/comment_component.html.erb
ariadne_view_components-0.0.12-x86_64-linux app/components/ariadne/comment_component.html.erb
ariadne_view_components-0.0.12-x86_64-darwin app/components/ariadne/comment_component.html.erb
ariadne_view_components-0.0.12-x64-mingw32 app/components/ariadne/comment_component.html.erb
ariadne_view_components-0.0.12-x64-mingw-ucrt app/components/ariadne/comment_component.html.erb
ariadne_view_components-0.0.12-arm64-darwin app/components/ariadne/comment_component.html.erb
ariadne_view_components-0.0.12-aarch64-linux app/components/ariadne/comment_component.html.erb
ariadne_view_components-0.0.11 app/components/ariadne/comment_component.html.erb
ariadne_view_components-0.0.11-x86_64-linux app/components/ariadne/comment_component.html.erb
ariadne_view_components-0.0.11-x86_64-darwin app/components/ariadne/comment_component.html.erb
ariadne_view_components-0.0.11-x64-mingw32 app/components/ariadne/comment_component.html.erb
ariadne_view_components-0.0.11-x64-mingw-ucrt app/components/ariadne/comment_component.html.erb
ariadne_view_components-0.0.11-arm64-darwin app/components/ariadne/comment_component.html.erb
ariadne_view_components-0.0.11-aarch64-linux app/components/ariadne/comment_component.html.erb
ariadne_view_components-0.0.10 app/components/ariadne/comment_component.html.erb
ariadne_view_components-0.0.10-x86_64-linux app/components/ariadne/comment_component.html.erb
ariadne_view_components-0.0.10-x86_64-darwin app/components/ariadne/comment_component.html.erb
ariadne_view_components-0.0.10-x64-mingw32 app/components/ariadne/comment_component.html.erb
ariadne_view_components-0.0.10-x64-mingw-ucrt app/components/ariadne/comment_component.html.erb
ariadne_view_components-0.0.10-arm64-darwin app/components/ariadne/comment_component.html.erb