Remove unneeded variable
This commit is contained in:
parent
5116a9d031
commit
b7ac267334
|
@ -1,4 +1,4 @@
|
||||||
<%# locals: (table:, button_text:) -%>
|
<%# locals: (button_text:) -%>
|
||||||
|
|
||||||
<%= form_with model: @table do |f| %>
|
<%= form_with model: @table do |f| %>
|
||||||
<%= f.label :name %>
|
<%= f.label :name %>
|
||||||
|
|
|
@ -5,4 +5,4 @@
|
||||||
<%= link_to t(".delete_table", name: @table.name), table_path(@table),
|
<%= link_to t(".delete_table", name: @table.name), table_path(@table),
|
||||||
data: { turbo_method: :delete, turbo_confirm: t(".delete_table_confirmation", name: @table.name) } %>
|
data: { turbo_method: :delete, turbo_confirm: t(".delete_table_confirmation", name: @table.name) } %>
|
||||||
<%= render partial: "tables/form",
|
<%= render partial: "tables/form",
|
||||||
locals: { table: @table, button_text: t(".update_table") } %>
|
locals: { button_text: t(".update_table") } %>
|
||||||
|
|
|
@ -3,4 +3,4 @@
|
||||||
<h2><%= t(".new_table") %></h2>
|
<h2><%= t(".new_table") %></h2>
|
||||||
|
|
||||||
<%= render partial: "tables/form",
|
<%= render partial: "tables/form",
|
||||||
locals: { table: @table, button_text: t(".create_table") } %>
|
locals: { button_text: t(".create_table") } %>
|
||||||
|
|
Loading…
Reference in New Issue