Files
nairobi/app/views/dashboard/polls/_question_answer_fields.html.erb
Juan Salvador Pérez García 42dd4679d3 Implements #184
Added edit button to poll card.

Usability enhancements added to poll form.
2018-07-17 17:59:11 +02:00

26 lines
760 B
Plaintext

<div class="nested-fields">
<div class="row">
<div class="small-12 large-9 column">
<%= f.text_field :title %>
</div>
<div class="small-12 large-3 column" style="padding-top: 20px">
<%= link_to_remove_association f, class: 'button hollow alert' do %>
<span class="icon-x" aria-hidden="true"></span>
<span><%=t('.remove_answer') %></span>
<% end %>
</div>
</div>
<div class="row">
<div class="small-12 large-9 column">
<div class="ckeditor">
<%= f.cktext_area :description,
maxlength: Poll::Question.description_max_length,
ckeditor: { language: I18n.locale } %>
</div>
</div>
</div>
<hr style="max-width:100%">
</div>