app/views/pulitzer/justification_styles/_new.html.erb in pulitzer-0.14.4 vs app/views/pulitzer/justification_styles/_new.html.erb in pulitzer-0.15.0

- old
+ new

@@ -1,12 +1,12 @@ <div class="pulitzer-row"> - <%= form_for justification_style, html: ajax_form_hash(dom_target(justification_style.post_type, :justification_styles_container), insert_method: 'append', reset_on_success: true) do |f| %> - <%= f.hidden_field :post_type_id %> + <%= form_for justification_style, html: ajax_form_hash(dom_target(justification_style.post_type_version, :justification_styles_container), insert_method: 'append', reset_on_success: true) do |f| %> + <%= f.hidden_field :post_type_version_id %> <%= render partial: 'form_fields', locals: { f: f, justification_style: justification_style } %> <div class="pulitzer-span ten-percent"> <%= f.submit "Create", data: {disable_with: false} %> </div> <div class="pulitzer-span ten-percent"> - <a class="button" data-emptier="true" data-target="<%= dom_target(justification_style.post_type, :new_justification_style) %>">Close</a> + <a class="button" data-emptier="true" data-target="<%= dom_target(justification_style.post_type_version, :new_justification_style) %>">Close</a> </div> <% end %> </div> \ No newline at end of file