9 lines
360 B
Plaintext
9 lines
360 B
Plaintext
<div class="control-group input-title">
|
|
<%= f.label node, t("chapter.#{node}"), class: "control-label muted" %>
|
|
<div class="controls">
|
|
<%= f.fields_for "#{node}_translations".to_sym do |f| %>
|
|
<%= f.text_field locale, class: "post-title #{style}", value: (@chapter.send("#{node}_translations")[locale] rescue nil) %>
|
|
<% end %>
|
|
</div>
|
|
</div>
|