Skip to content

Commit

Permalink
Removed layout from horizontal form of demo application
Browse files Browse the repository at this point in the history
  • Loading branch information
shivam091 committed May 24, 2023
1 parent c712805 commit bd6678a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion demo/app/views/users/_horizontal_form.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<%= form.collection_radio_buttons :fruit_id, ::Fruit.all, :id, :name, {checked: form.object.fruit_id} %>
<%= form.color_field :favorite_color %>
<%= form.collection_check_boxes :skill_ids, ::Skill.all, :id, :name %>
<%= form.fields_for :address, include_id: false, bootstrap_form: {layout: :horizontal} do |address_form| %>
<%= form.fields_for :address, include_id: false do |address_form| %>
<%= address_form.text_area :street %>
<%= address_form.text_field :state %>
<%= address_form.grouped_collection_select :city, ::Country.includes(:cities), :cities, :name, :id, :name, {include_blank: "Select city"} %>
Expand Down

0 comments on commit bd6678a

Please sign in to comment.