change description to ckeditor

This commit is contained in:
BoHung Chiu 2021-03-25 09:57:45 +08:00
parent 1d66537799
commit d9d0fd8a8e
1 changed files with 1 additions and 1 deletions

View File

@ -126,7 +126,7 @@
<label class="control-label muted"><%= t("archive.description") %></label>
<div class="controls">
<%= f.fields_for :description_translations do |f| %>
<%= f.text_field locale, class: "input-block-level", placeholder: t("archive.description"), value: (@archive_file.description_translations[locale] rescue nil) %>
<%= f.text_area locale, class: "ckeditor input-block-level", placeholder: t("archive.description"), value: (@archive_file.description_translations[locale] rescue nil) %>
<% end %>
</div>
</div>