Skip to content

Commit

Permalink
Fix menuitems ordering #3
Browse files Browse the repository at this point in the history
  • Loading branch information
gordienko committed Aug 13, 2022
1 parent fbea56e commit 419fc92
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/views/menuitems/_form.html.erb
Expand Up @@ -17,8 +17,8 @@
</div>

<div>
<%= form.label :ancestry, style: "display: block" %>
<%= form.select :ancestry, Menuitem.all.collect { |m| [m.name, m.id] }, :prompt => 'Select' %>
<%= form.label :parent_id, style: "display: block" %>
<%= form.select :parent_id, Menuitem.all.collect { |m| [m.name, m.id] }, :prompt => 'Select' %>
</div>

<div>
Expand Down

0 comments on commit 419fc92

Please sign in to comment.