Orbit/app/views/admin/page_parts/_text.html.erb

8 lines
298 B
Plaintext
Raw Normal View History

2012-07-25 21:58:09 +00:00
<%= f.fields_for :content_translations do |f| %>
<% @site_valid_locales.each do |locale| %>
<div>
<%= I18nVariable.from_locale(locale) %>
2012-07-25 21:58:09 +00:00
<%= f.text_area locale, :class => 'tinymce_textarea', :value => (@part.content_translations[locale] rescue nil) %>
</div>
<% end %>
2012-05-16 10:51:37 +00:00
<% end %>