Commit 0477fa364ed3327517bd125f1ab1d662ee81c10e
1 parent
0314bc17
Exists in
theme-brasil-digital-from-staging
and in
9 other branches
Revert "Display media content for proposal content"
This reverts commit 0314bc172afa03f2247e7a8ce95e4ad93e23e515.
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/views/cms/edit.html.erb
1 | 1 | <%= error_messages_for 'article' %> |
2 | 2 | |
3 | -<% show_media_panel = environment.enabled?('media_panel') && [TinyMceArticle, TextileArticle, Event, EnterpriseHomepage, ProposalsDiscussionPlugin::Discussion, ProposalsDiscussionPlugin::Topic, ProposalsDiscussionPlugin::Proposal, ProposalsDiscussionPlugin::Story].any?{|klass| @article.kind_of?(klass)} %> | |
3 | +<% show_media_panel = environment.enabled?('media_panel') && [TinyMceArticle, TextileArticle, Event, EnterpriseHomepage].any?{|klass| @article.kind_of?(klass)} %> | |
4 | 4 | |
5 | 5 | <div class='<%= (show_media_panel ? 'with_media_panel' : 'no_media_panel') %>'> |
6 | 6 | <%= labelled_form_for 'article', :html => { :multipart => true, :class => @type } do |f| %> | ... | ... |