Sha256: 300fbd56c286787e9b6ca0089239f1e53a96f698177b3a5e761f2a4a94004f43

Contents?: true

Size: 730 Bytes

Versions: 68

Compression:

Stored size: 730 Bytes

Contents

<%
  stimulus_controller = "dependent-fields-frame"
  html_options ||= {}
  html_options[:data] ||= {}
  html_options[:data][:controller] ||= ""
  html_options[:data][:controller] += " #{stimulus_controller}"
  html_options[:data][:action] ||= ""
  html_options[:data][:action] += " dependable:updated->#{stimulus_controller}#updateFrameFromDependableField turbo:frame-render->#{stimulus_controller}#finishFrameUpdate"
  html_options[:data]["#{stimulus_controller}-loading-class"] ||= "opacity-60"

  dependable_fields ||= []
%>
<%= turbo_frame_tag id, **html_options do %>
  <%
    dependable_fields.each do |method|
      accept_query_string_override_for(form, method)
    end
  %>

  <%= yield stimulus_controller %>
<% end %>

Version data entries

68 entries across 68 versions & 1 rubygems

Version Path
bullet_train-themes-tailwind_css-1.17.1 app/views/themes/tailwind_css/fields/_dependent_fields_frame.html.erb
bullet_train-themes-tailwind_css-1.17.0 app/views/themes/tailwind_css/fields/_dependent_fields_frame.html.erb
bullet_train-themes-tailwind_css-1.16.0 app/views/themes/tailwind_css/fields/_dependent_fields_frame.html.erb
bullet_train-themes-tailwind_css-1.15.0 app/views/themes/tailwind_css/fields/_dependent_fields_frame.html.erb
bullet_train-themes-tailwind_css-1.14.2 app/views/themes/tailwind_css/fields/_dependent_fields_frame.html.erb
bullet_train-themes-tailwind_css-1.14.1 app/views/themes/tailwind_css/fields/_dependent_fields_frame.html.erb
bullet_train-themes-tailwind_css-1.14.0 app/views/themes/tailwind_css/fields/_dependent_fields_frame.html.erb
bullet_train-themes-tailwind_css-1.13.0 app/views/themes/tailwind_css/fields/_dependent_fields_frame.html.erb
bullet_train-themes-tailwind_css-1.12.3 app/views/themes/tailwind_css/fields/_dependent_fields_frame.html.erb
bullet_train-themes-tailwind_css-1.12.2 app/views/themes/tailwind_css/fields/_dependent_fields_frame.html.erb
bullet_train-themes-tailwind_css-1.12.1 app/views/themes/tailwind_css/fields/_dependent_fields_frame.html.erb
bullet_train-themes-tailwind_css-1.12.0 app/views/themes/tailwind_css/fields/_dependent_fields_frame.html.erb
bullet_train-themes-tailwind_css-1.11.0 app/views/themes/tailwind_css/fields/_dependent_fields_frame.html.erb
bullet_train-themes-tailwind_css-1.10.0 app/views/themes/tailwind_css/fields/_dependent_fields_frame.html.erb
bullet_train-themes-tailwind_css-1.9.0 app/views/themes/tailwind_css/fields/_dependent_fields_frame.html.erb
bullet_train-themes-tailwind_css-1.8.5 app/views/themes/tailwind_css/fields/_dependent_fields_frame.html.erb
bullet_train-themes-tailwind_css-1.8.4 app/views/themes/tailwind_css/fields/_dependent_fields_frame.html.erb
bullet_train-themes-tailwind_css-1.8.3 app/views/themes/tailwind_css/fields/_dependent_fields_frame.html.erb
bullet_train-themes-tailwind_css-1.8.2 app/views/themes/tailwind_css/fields/_dependent_fields_frame.html.erb
bullet_train-themes-tailwind_css-1.8.1 app/views/themes/tailwind_css/fields/_dependent_fields_frame.html.erb