Align admin active polls form fields with new translations interface
This commit is contained in:
committed by
Senén Rodero Rodríguez
parent
a700ea2fce
commit
000c6c5911
@@ -4,17 +4,21 @@
|
||||
|
||||
<%= render "shared/errors", resource: @active_poll %>
|
||||
|
||||
<%= f.translatable_fields do |translations_form| %>
|
||||
<div class="ckeditor">
|
||||
<span class="help-text"><%= t("admin.active_polls.form.description.help_text") %></span>
|
||||
<%= translations_form.cktext_area :description,
|
||||
maxlength: ActivePoll.description_max_length,
|
||||
label: t("admin.active_polls.form.description.text") %>
|
||||
</div>
|
||||
<% end %>
|
||||
<div class="row">
|
||||
<%= f.translatable_fields do |translations_form| %>
|
||||
<div class="ckeditor column">
|
||||
<span class="help-text"><%= t("admin.active_polls.form.description.help_text") %></span>
|
||||
<%= translations_form.cktext_area :description,
|
||||
maxlength: ActivePoll.description_max_length,
|
||||
label: t("admin.active_polls.form.description.text") %>
|
||||
</div>
|
||||
<% end %>
|
||||
</div>
|
||||
|
||||
<div class="small-12 medium-4 large-2 margin-top">
|
||||
<%= f.submit(class: "button success", value: t("shared.save")) %>
|
||||
<div class="row">
|
||||
<div class="small-12 medium-4 large-2 margin-top column">
|
||||
<%= f.submit(class: "button success", value: t("shared.save")) %>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<% end %>
|
||||
|
||||
Reference in New Issue
Block a user