adds description to evaluator label for admins

This commit is contained in:
Juanjo Bazán
2016-03-15 15:38:42 +01:00
parent 4546af5be1
commit 638032317b

View File

@@ -32,7 +32,7 @@
<%= f.label :valuator_ids, t("admin.spending_proposals.edit.assigned_valuators") %>
<%= f.collection_check_boxes :valuator_ids, @valuators, :id, :email do |b| %>
<%= b.label(title: b.object.name) { b.check_box + b.text } %>
<%= b.label(title: [b.object.name, b.object.description].compact.join(' : ')) { b.check_box + b.text} %>
<% end %>
<p class="clear">