Sha256: 4d1e5f4d4901e04bf7f44244096c68c01c724414fabac662ff88ed4874682afb
Contents?: true
Size: 1.99 KB
Versions: 21
Compression:
Stored size: 1.99 KB
Contents
<%= render(Ariadne::BaseComponent.new(tag: @tag, classes: @classes, attributes: @attributes)) do %> <%= render(Ariadne::TabContainerComponent.new(sr_label: @sr_label)) do |tab_container| %> <%= tab_container.tab(id: public_tab.id, selected: public_tab.selected, classes: public_tab.classes, attributes: public_tab.attributes) do |tab| %> <% tab.text { @public_tab_text } %> <% tab.panel(attributes: {:"data-public" => true}) do %> <%= ariadne_form_with(url: @url, method: @method, classes: @classes, attributes: @attributes) do |comment_box| %> <div class="ariadne-overflow-hidden ariadne-border ariadne-border-gray-300 ariadne-shadow-sm"> <%= hidden_field_tag 'message_public', true %> <%= render(Ariadne::RichTextAreaComponent.new(name: :public_bodytext, sr_label: "Select reply type", attributes: { required: true})) %> <% comment_box.submit { @submit } %> </div> <div class="ariadne-py-2 ariadne-flex ariadne-justify-end"> <%= public_submit %> </div> <% end %> <% end %> <% end %> <%= tab_container.tab(id: internal_tab.id, selected: internal_tab.selected, classes: internal_tab.classes, attributes: internal_tab.attributes) do |tab| %> <% tab.text { @internal_tab_text } %> <% tab.panel do %> <%= ariadne_form_with(url: @url, method: @method, classes: @classes, attributes: @attributes) do |comment_box| %> <div class="ariadne-overflow-hidden ariadne-border ariadne-border-gray-300 ariadne-shadow-sm"> <%= hidden_field_tag 'message_public', false %> <%= render(Ariadne::RichTextAreaComponent.new(name: :internal_bodytext, sr_label: "Select reply type", attributes: { required: true})) %> <% comment_box.submit { @submit } %> </div> <div class="ariadne-py-2 ariadne-flex ariadne-justify-end"> <%= internal_submit %> </div> <% end %> <% end %> <% end %> <% end %> <% end %>
Version data entries
21 entries across 21 versions & 1 rubygems