Skip to content

Commit

Permalink
use hidden_field
Browse files Browse the repository at this point in the history
  • Loading branch information
JeSuisUnCaillou committed Nov 29, 2024
1 parent 22b34c8 commit f2231c3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<% if hidden_attributes.present? && hidden_attributes[:attributes].present? %>
<% hidden_attributes[:attributes].each do |key, value| %>
<%= f.text_field key, value:, class: 'fr-hidden' %>
<%= f.hidden_field key, value: %>
<% end %>
<% end %>

0 comments on commit f2231c3

Please sign in to comment.