Change news subtitle to textarea, no tinymce
This commit is contained in:
1 parent
71021b8c69
commit
73e48aebc6
3 files changed
+14
-2
No files matched your search
+1
-1
@@ -163,7 +163,7 @@
|
||||
<%= f.label :subtitle, t('news.news_bulletin.subtitle') %>
|
||||
<%= f.fields_for :subtitle_translations do |f| %>
|
||||
<%= I18nVariable.from_locale(locale) %>
|
||||
<%= f.text_area locale, :style=>"width:100%", :class => 'tinymce_textarea', :value => (@news_bulletin.subtitle_translations[locale] rescue nil) %>
|
||||
<%= f.text_area locale, :style=>"width:100%", :value => (@news_bulletin.subtitle_translations[locale] rescue nil) %>
|
||||
<% end %>
|
||||
</div>
|
||||
|
||||
|
||||
Vendored
+1
-1
@@ -21,7 +21,7 @@
|
||||
<li>
|
||||
<div class="news_img"><%= link_to image_tag(post.image.url, :size => "290x130"), panel_news_front_end_news_bulletin_path(post, :category_id => post.news_bulletin_category_id) %></div>
|
||||
<h3 class="h3 news_title"><%= link_to post.title, panel_news_front_end_news_bulletin_path(post, :category_id => post.news_bulletin_category_id) %></h3>
|
||||
<p class="news_wrap"><%= truncate((post.subtitle rescue '') ,:length => 200).html_safe %></p>
|
||||
<p class="news_wrap"><%= truncate((post.subtitle rescue '') ,:length => 200) %></p>
|
||||
</li>
|
||||
<% end %>
|
||||
</ul>
|
||||
|
||||
Reference in new issue
Block a user