app/views/simple_pages/pages/edit.html.erb in simple-pages-rails-0.3.1 vs app/views/simple_pages/pages/edit.html.erb in simple-pages-rails-0.4.0
- old
+ new
@@ -13,10 +13,15 @@
end %>
<div>
<%= simple_form_for @page, as: :page, html: { class: 'form-horizontal' } do |f| %>
<%= f.error_notification %>
- <%= render 'form', f: f, author_options: @author_options, layout_at_options: @layout_at_options %>
+ <%= render 'form', {
+ f: f,
+ cluster_options: @cluster_options,
+ layout_at_options: @layout_at_options,
+ author_options: @author_options
+ } %>
<div class="form-actions">
<%= submit_button f %>
</div>
<% end %>
</div>