app/views/contents/edit.html.erb in common-content-0.0.2 vs app/views/contents/edit.html.erb in common-content-0.0.3

- old
+ new

@@ -15,10 +15,10 @@ </div> <% end %> <%= render :partial => 'fields_new', :locals => {f: f} %> <%= render :partial => 'fields_edit', :locals => {f: f} %> <hr/> - <h4>Seo</h4> + <%= link_to_add_fields "+ seo", f, :seo unless @content.seo %> <%= f.fields_for :seo do |seo| %> <%= render :partial => 'seo_fields', :locals => {f: seo} %> <% end %> <h4>Resources</h4> <%= link_to_add_fields "Add Resource", f, :resources %>