This way the HTML does not depend on CKEditor, and changing the editor we use in textareas will require very few changes.
24 lines
743 B
Plaintext
24 lines
743 B
Plaintext
<%= render "shared/globalize_locales", resource: @active_poll %>
|
|
|
|
<%= translatable_form_for(@active_poll, url: form_url) do |f| %>
|
|
|
|
<%= render "shared/errors", resource: @active_poll %>
|
|
|
|
<div class="row">
|
|
<%= f.translatable_fields do |translations_form| %>
|
|
<div class="column">
|
|
<span class="help-text"><%= t("admin.active_polls.form.description.help_text") %></span>
|
|
<%= translations_form.text_area :description, class: "html-area",
|
|
maxlength: ActivePoll.description_max_length %>
|
|
</div>
|
|
<% end %>
|
|
</div>
|
|
|
|
<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 %>
|