Sha256: 9e209f9e89ca631de5aa288f210aa472eed816754714b9f5f6124c7284cd8e64

Contents?: true

Size: 645 Bytes

Versions: 42

Compression:

Stored size: 645 Bytes

Contents

<div class="ariadne-space-y-3">
  <%= content_tag(:fieldset, class: style(:group), **input_arguments) do %>
    <% if label %>
    <label class="<%= style(:label) %>"><%= label %></label>
    <% end %>
    <div role="radiogroup">
      <% @choices.each do |radio_button| %>
        <%= render(radio_button) %>
      <% end %>
    </div>
  <% end %>

  <% if @validation_message %>
  <div class="mt-2">
    <%= render(Ariadne::Form::ValidationMessage::Component.new(input: @input)) %>
  </div>
  <% end %>

  <% if caption? %>
  <div class="mt-2">
    <%= render(Ariadne::Form::CaptionComponent.new(input: @input)) %>
  </div>
  <% end %>
</div>

Version data entries

42 entries across 42 versions & 1 rubygems

Version Path
ariadne_view_components-0.0.85 app/components/ariadne/form/radio_button_group/component.html.erb
ariadne_view_components-0.0.84 app/components/ariadne/form/radio_button_group/component.html.erb
ariadne_view_components-0.0.83.3 app/components/ariadne/form/radio_button_group/component.html.erb
ariadne_view_components-0.0.83.2 app/components/ariadne/form/radio_button_group/component.html.erb
ariadne_view_components-0.0.83.1 app/components/ariadne/form/radio_button_group/component.html.erb
ariadne_view_components-0.0.83 app/components/ariadne/form/radio_button_group/component.html.erb
ariadne_view_components-0.0.82 app/components/ariadne/form/radio_button_group/component.html.erb
ariadne_view_components-0.0.81 app/components/ariadne/form/radio_button_group/component.html.erb
ariadne_view_components-0.0.80.3 app/components/ariadne/form/radio_button_group/component.html.erb
ariadne_view_components-0.0.79.2 app/components/ariadne/form/radio_button_group/component.html.erb
ariadne_view_components-0.0.79.1 app/components/ariadne/form/radio_button_group/component.html.erb
ariadne_view_components-0.0.79 app/components/ariadne/form/radio_button_group/component.html.erb
ariadne_view_components-0.0.78 app/components/ariadne/form/radio_button_group/component.html.erb
ariadne_view_components-0.0.77 app/components/ariadne/form/radio_button_group/component.html.erb
ariadne_view_components-0.0.76.1 app/components/ariadne/form/radio_button_group/component.html.erb
ariadne_view_components-0.0.76 app/components/ariadne/form/radio_button_group/component.html.erb
ariadne_view_components-0.0.75 app/components/ariadne/form/radio_button_group/component.html.erb
ariadne_view_components-0.0.74.1 app/components/ariadne/form/radio_button_group/component.html.erb
ariadne_view_components-0.0.74 app/components/ariadne/form/radio_button_group/component.html.erb
ariadne_view_components-0.0.73 app/components/ariadne/form/radio_button_group/component.html.erb