app/views/smithy/content_pieces/new.html.erb in smithycms-0.4.5 vs app/views/smithy/content_pieces/new.html.erb in smithycms-0.5.0
- old
+ new
@@ -1,7 +1,14 @@
<% content_for :title, "New #{klass_name}" %>
+
+<%= semantic_form_for @record do |f| %>
+ <%= f.inputs do %>
+ <%= f.inputs *accessible_attributes %>
+ <% end %>
+ <%= f.actions :submit %>
+<% end %>