small fix

This commit is contained in:
Harry Bomrah 2017-08-08 14:03:04 +08:00
parent 02bd07d62b
commit c53e474ee7
1 changed files with 2 additions and 2 deletions

View File

@ -83,8 +83,8 @@
<label class="control-label muted"><%= t(:subtitle) %></label> <label class="control-label muted"><%= t(:subtitle) %></label>
<div class="controls"> <div class="controls">
<div class="textarea"> <div class="textarea">
<%= f.fields_for :subtitle_translations do |f| %> <%= f.fields_for :description_translations do |f| %>
<%= f.text_area locale, rows: 2, class: "input-block-level", value: (@topic.subtitle_translations[locale] rescue nil) %> <%= f.text_area locale, rows: 2, class: "input-block-level", value: (@topic.description_translations[locale] rescue nil) %>
<% end %> <% end %>
</div> </div>
</div> </div>