Update pages controller and views
Added new attribute `locale` to pages index list and form.
This commit is contained in:
@@ -30,6 +30,10 @@
|
||||
<br>
|
||||
<% end %>
|
||||
</div>
|
||||
<div class="small-12 medium-4 column">
|
||||
<%= f.label :locale %>
|
||||
<%= f.select :locale, I18n.available_locales, { default: nil, label: false, include_blank: true } %>
|
||||
</div>
|
||||
<div class="small-12 medium-4 column">
|
||||
<%= f.label :slug %>
|
||||
<%= f.text_field :slug, label: false, size: 80, maxlength: 80 %>
|
||||
|
||||
Reference in New Issue
Block a user