Sha256: d3fabcace263a15f97e3ebfdf1756a4ad87a501eaea48541d3769ca2951ca40f
Contents?: true
Size: 783 Bytes
Versions: 7
Compression:
Stored size: 783 Bytes
Contents
<% subject_id = SecureRandom.hex %> <% title = system_arguments.delete(:title) %> <% simulate_no_results = system_arguments.delete(:simulate_no_results) %> <% simulate_failure = system_arguments.delete(:simulate_failure) %> <%= render(Primer::Alpha::SelectPanel.new( data: { interaction_subject: subject_id }, src: select_panel_items_path( select_variant: :single, show_results: !simulate_no_results, fail: simulate_failure ), select_variant: :single, fetch_strategy: :remote, **system_arguments )) do |panel| %> <% panel.with_show_button { title } %> <% if subtitle %> <% panel.with_subtitle { subtitle } %> <% end %> <% end %> <%= render partial: "primer/alpha/select_panel_preview/interaction_subject_js", locals: { subject_id: subject_id } %>
Version data entries
7 entries across 7 versions & 2 rubygems