Sha256: a29bf7ba33b6ff9b04766cd39907d5517af01f45264116c1f21cb31240072724

Contents?: true

Size: 321 Bytes

Versions: 6

Compression:

Stored size: 321 Bytes

Contents

<%= content_tag(:div, **@input.input_arguments) do %>
  <%= render(FormControl.new(input: @input)) do %>
    <primer-multi-input data-name="<%= @input.name %>">
      <% @input.inputs.each do |child_input| %>
        <%= render(child_input.to_component) %>
      <% end %>
    </primer-multi-input>
  <% end %>
<% end %>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
primer_view_components-0.1.3 lib/primer/forms/multi.html.erb
primer_view_components-0.1.2 lib/primer/forms/multi.html.erb
primer_view_components-0.1.1 lib/primer/forms/multi.html.erb
primer_view_components-0.1.0 lib/primer/forms/multi.html.erb
primer_view_components-0.0.123 lib/primer/forms/multi.html.erb
primer_view_components-0.0.122 lib/primer/forms/multi.html.erb