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| %><%= _('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" %><%= f.submit _('Submit Evaluation'), :class => "action-button" %> <% end %><%= _('The deal happened?') %>
<%= select("result", '', EvaluationPlugin::Evaluation::ResultMessage.map{ |id, m| [_(m), id] }, {:include_blank => false}, {:class => "evaluation-select", :name => "result"}) %>