Avoid full page reloads on report#show
This commit is contained in:
parent
916b370905
commit
c44c9ccaba
7 changed files with 19 additions and 8 deletions
|
|
@ -1,4 +1,4 @@
|
|||
<%= bootstrap_form_with(model: element, data: { turbo_frame: "_top" }) do |form| %>
|
||||
<%= bootstrap_form_with(model: element, data: element.persisted? || { turbo_frame: "_top" }) do |form| %>
|
||||
<%= form.hidden_field :report_id %>
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue