<% question = form.object %> <% is_expanded = question.errors.any? %>

<% if editable %> <%== icon("move") %> <% end %> <%= dynamic_title(translated_attribute(question.body), class: "question-title-statement", max_length: 50, omission: "...", placeholder: t(".title_and_description")) %> <% if editable %> <% end %>

" data-toggler=".hide" id="<%= id %>-question-card">
<%= form.translated( :text_field, :body, tabs_id: id, label: t(".title"), disabled: !editable ) %>
<%= form.translated( :editor, :description, toolbar: :full, tabs_id: id, label: t(".description"), disabled: !editable ) %>
<%= form.hidden_field( :question_type, value: :title_and_description ) %> <% if question.persisted? %> <%= form.hidden_field :id, disabled: !editable %> <% end %> <%= form.hidden_field :position, value: question.position || 0, disabled: !editable %> <%= form.hidden_field :deleted, disabled: !editable %>