diff --git a/views/cms/edit.html.erb b/views/cms/edit.html.erb deleted file mode 100644 index 0b788f8..0000000 --- a/views/cms/edit.html.erb +++ /dev/null @@ -1,79 +0,0 @@ -<%= error_messages_for 'article' %> - -<% if @article.archived? %> - <%= render :partial => 'archived_warning', :locals => {:article => @article} %> -<% end %> -
'> -<%= labelled_form_for 'article', :html => { :multipart => true, :class => @type } do |f| %> - - <%= hidden_field_tag("type", @type) if @type %> - - <%= hidden_field_tag('back_to', @back_to) %> - - <%= hidden_field_tag('success_back_to', @success_back_to) %> - - - <%= render :partial => partial_for_class(@article.class), :locals => { :f => f } %> - - <% if environment.is_portal_community?(profile) %> -
- <%= check_box(:article, :highlighted) %> - -
- <% end %> - - <% button_bar do %> - <%= submit_button :save, _('Save') %> - <%= submit_button :save, _('Save and continue'), :name => "continue" %> - <% end %> - - <% unless @article.kind_of?(ProposalsDiscussionPlugin::Response) %> -
- <%= modal_button :help, _('Why categorize?'), :action => 'why_categorize' %> -
- - <%= select_categories(:article, _('Categorize your article')) %> - -
- - <%= f.text_field('tag_list', :size => 64) %> - <%= content_tag( 'small', _('Separate tags with commas') ) %> - - - -
- <%= options_for_article(@article, @tokenized_children) %> -
- - <% button_bar do %> - <%= submit_button :save, _('Save') %> - - <% if @back_to %> - <%= button :cancel, _('Cancel'), @back_to %> - <% elsif @parent_id || @article.parent %> - <%= button :cancel, _('Cancel'), :action => 'view', :id => @parent_id || @article.parent %> - <% else %> - <%= button :cancel, _('Cancel'), :action => 'index' %> - <% end %> - - <% unless @article.new_record? %> - <%= button :delete, _('Delete'), {:controller => :cms, :action => :destroy, :id => @article}, - :method => :post, :confirm => delete_article_message(@article) %> - <% end %> - <% end %> - <% end %> -<% end %> -
- -<% if @article.display_media_panel? %> - <%= render :partial => 'text_editor_sidebar' %> -<% end %> - -
- -<%= javascript_include_tag "article.js" %> -- libgit2 0.21.2