13 lines
343 B
Plaintext
13 lines
343 B
Plaintext
<%= f.fields_for :i18n_variable, (@part.i18n_variable ? @part.i18n_variable : @part.build_i18n_variable) do |f| %>
|
|
<% @site_valid_locales.each do |locale| %>
|
|
<div>
|
|
<%= I18nVariable.from_locale(locale) %>
|
|
<%= f.text_area locale, :class => 'tinymce_textarea' %>
|
|
</div>
|
|
<% end %>
|
|
<% end %>
|
|
|
|
<script>
|
|
load_tinymce();
|
|
</script>
|