Fix #4458: Duplicate HTML IDs on post show page.
This commit is contained in:
@@ -7,9 +7,9 @@
|
||||
<%= render "sources/info" %>
|
||||
|
||||
<%= edit_form_for(post, html: { id: "form" }) do |f| %>
|
||||
<%= hidden_field_tag :tags_query, params[:q] %>
|
||||
<%= hidden_field_tag :pool_id, params[:pool_id] %>
|
||||
<%= hidden_field_tag :favgroup_id, params[:favgroup_id] %>
|
||||
<%= f.input :tags_query, as: :hidden, input_html: { id: nil, name: "tags_query", value: params[:q] } %>
|
||||
<%= f.input :pool_id, as: :hidden, input_html: { id: nil, name: "pool_id", value: params[:pool_id] } %>
|
||||
<%= f.input :favgroup_id, as: :hidden, input_html: { id: nil, name: "favgroup_id", value: params[:favgroup_id] } %>
|
||||
<%= f.input :old_tag_string, as: :hidden, input_html: { value: post.tag_string } %>
|
||||
<%= f.input :old_parent_id, as: :hidden, input_html: { value: post.parent_id } %>
|
||||
<%= f.input :old_source, as: :hidden, input_html: { value: post.source } %>
|
||||
|
||||
Reference in New Issue
Block a user