cirandas.net

ref: master

app/views/tasks/_create_community_custom_fields.html.erb


<% if task.custom_values.present? %>
  <% task.custom_values.each_pair do |name, value| %>
    <% custom_field = CustomField.where(:name =>name, :environment => task.environment).first%>
    <% if custom_field.moderation_task %>
      
<%= name +": " + display_value_for_custom_field(custom_field, value['value']) %>
<% end %> <% end %> <% end %>