This repository has been archived on 2024-03-16. You can view files and clone it, but cannot push or open issues or pull requests.
2012-02-16 04:18:27 +00:00
|
|
|
<%= 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) %>
|
2012-05-10 02:34:13 +00:00
|
|
|
<%= f.text_area locale, :class => 'tinymce_textarea' %>
|
2012-02-16 04:18:27 +00:00
|
|
|
</div>
|
|
|
|
<% end %>
|
2012-05-10 12:36:19 +00:00
|
|
|
<% end %>
|
|
|
|
|
|
|
|
<script>
|
2012-05-13 13:55:39 +00:00
|
|
|
$(document).ready(function() {
|
|
|
|
load_tinymce();
|
|
|
|
});
|
2012-05-10 12:36:19 +00:00
|
|
|
</script>
|