11 lines
431 B
Plaintext
11 lines
431 B
Plaintext
|
<div class="control-group input-title">
|
||
|
<%= f.label node ,t("chapter.#{node}"), class: "control-label muted" %>
|
||
|
<%= f.fields_for "#{node}_translations".to_sym do |f| %>
|
||
|
<div class="controls">
|
||
|
<div class="textarea">
|
||
|
<%= f.text_area locale, style: "width:100%", class: 'ckeditor input-block-level', value: (@chapter.send("#{node}_translations")[locale] rescue nil) %>
|
||
|
</div>
|
||
|
</div>
|
||
|
<% end %>
|
||
|
</div>
|