app/views/admin/content/new.rhtml in typo-4.0.3 vs app/views/admin/content/new.rhtml in typo-4.1

- old
+ new

@@ -1,27 +1,7 @@ - <% @page_heading = 'Articles' %> +<% content_for('tasks') do %> + <%= tab _("Write a Page"), :controller=>"pages", :action=>"new" %> +<% end %> - <h3>Creating article</h3> + <% @page_heading = _('Write an Article') %> - <%= start_form_tag({ :action => "new" }, :id => "article_form", :enctype => "multipart/form-data") %> - - - <div class="form"> - <!-- LIVE PREVIEW --> - <div id="preview" class="post" style="display: none;"></div> - <!-- /LIVE PREVIEW --> - <%= render_partial "form" %> - </div> - - <div id="operations"> - <%= save("Save this article") %> or <%= cancel %> - </div> - - <%= end_form_tag %> - - <%= observe_form "article_form", - :frequency => 2, - :update => "preview", - :complete => "Element.show('preview')", - :url => { :action => "preview" } %> - - + <%= render :partial => "admin/shared/edit", :locals => { :form_type => "article", :form_action => { :action => "new" } } %>