Fix bug when editing home
This commit is contained in:
parent
44a346ffe9
commit
3ff2e7867e
|
@ -1,5 +1,5 @@
|
|||
<%= f.error_messages %>
|
||||
<%= f.hidden_field :parent, :value => @item.parent.id %>
|
||||
<%= f.hidden_field :parent, :value => (@item.parent.id rescue nil) %>
|
||||
|
||||
<p>
|
||||
<%= f.label :name, t('admin.name') %>
|
||||
|
|
Reference in New Issue