基本信息
姓名
<%= @training.name %>
性别
<%= @training.sex == 1 ? '男' : '女' %>
单位
<%= @training.school %>
职称
<%= @training.position %>
<% if @training_type == 4 %>
职务
<%= @training.job_title %>
<% end %>
手机号
<%= @training.phone %>
<% if @training_type == 4 %>
待认证专业
<%= @training.uncertified_major %>
<% end %>
<% if @training.training_type == 3 %>
您关注的课程类型
<% @training.research_field.to_s.split(',').each do |name| %>
<%= name %>
<% end %>
<% end %>
<%= link_to('修改资料', enroll_training_path(id: @friendly_id, disable_redirect: true), class: 'info_updateBtn') %>
<% if @training.training_payinfo.blank? || @training.training_payinfo.not_payed? %>
温馨提示:支持现场缴费
<%= link_to '转账支付', pay_training_path(id: @friendly_id, pay_type: 3), class: 'leftbtn' %>
<%= link_to '微信支付', pay_training_path(id: @friendly_id, pay_type: 1), class: 'rightbtn' %>
<% else %>
<%= link_to '支付详情', pay_training_path(id: @friendly_id, pay_type: @training.training_payinfo.pay_type),
class: 'rightbtn', style: 'width: 100%;' %>
<% end %>