<%= render "admin/shared/globalize_locales", resource: @answer %>

<%= translatable_form_for(@answer, url: form_url) do |f| %>

  <%= render 'shared/errors', resource: @answer %>

  <%= f.hidden_field :question_id, value: @answer.question_id || @question.id %>

  <%= f.translatable_fields do |translations_form| %>
    <%= translations_form.text_field :title %>

    <div class="ckeditor">
      <%= translations_form.cktext_area :description, maxlength: Poll::Question.description_max_length %>
    </div>
  <% end %>

  <div class="small-12 medium-4 large-2 margin-top">
    <%= f.submit(class: "button success expanded", value: t("shared.save")) %>
  </div>

<% end %>
