base layout on id instead of name
This commit is contained in:
1 parent
6e100d3499
commit
fc98757772
3 files changed
+7
-7
No files matched your search
@@ -19,8 +19,8 @@
|
||||
<% end %>
|
||||
|
||||
<p>
|
||||
<%= f.label :layout_name, t('admin.layout_name') %>
|
||||
<%= f.select :layout_name, Layout.all.map{ |l| [l.description, l.name] } %>
|
||||
<%= f.label :layout_id, t('admin.layout_name') %>
|
||||
<%= f.select :layout_id, Layout.all.map{ |l| [l.description, l.id] } %>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
|
||||
Reference in new issue
Block a user