cirandas.net

ref: master

plugins/exchange/views/exchange_plugin_myprofile/_evaluation_form.html.erb


<%= form_for :evaluation, :url => {:controller => 'exchange_plugin_myprofile', :action => 'evaluate', :exchange_id => @exchange.id, :theother_id => @theother.id } do |f| %>
<%= profile_link_with_image profile, :thumb %> <%= text_area_tag 'text', '', :class => "evaluation-body", :placeholder => _('Please evaluate the behaviour of %s during the exchange process') % @theother.name %>
<%= _('Score') %>
<%= radio_button_tag "score", 1 , '', :class => "evaluation-radio"%> <%= radio_button_tag "score", 2 , '', :class => "evaluation-radio"%> <%= radio_button_tag "score", 3, '', :class => "evaluation-radio" %> <%= radio_button_tag "score", 4, '', :class => "evaluation-radio" %> <%= radio_button_tag "score", 5, '', :class => "evaluation-radio" %>
<%= _('The deal happened?') %>
<%= select("result", '', EvaluationPlugin::Evaluation::ResultMessage.map{ |id, m| [_(m), id] }, {:include_blank => false}, {:class => "evaluation-select", :name => "result"}) %>
<%= f.submit _('Submit Evaluation'), :class => "action-button" %> <% end %>