From 92c7dd4ead8481977fabd2fab0c161058f117698 Mon Sep 17 00:00:00 2001 From: p31729568 Date: Sun, 16 Jun 2019 23:26:15 +0800 Subject: [PATCH] modify trainings --- app/views/trainings/trainingsInfo.html.erb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/views/trainings/trainingsInfo.html.erb b/app/views/trainings/trainingsInfo.html.erb index f6292b6f..e6287aaa 100644 --- a/app/views/trainings/trainingsInfo.html.erb +++ b/app/views/trainings/trainingsInfo.html.erb @@ -44,4 +44,9 @@ <%#= 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 %> \ No newline at end of file