From f698b1468c08050e310854eb0203950b882a027e Mon Sep 17 00:00:00 2001 From: p31729568 Date: Tue, 25 Jun 2019 16:55:26 +0800 Subject: [PATCH] modify training ec name --- app/models/training.rb | 2 +- app/views/trainings/enroll.html.erb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/models/training.rb b/app/models/training.rb index 8a1cc0c9..76e8a773 100644 --- a/app/models/training.rb +++ b/app/models/training.rb @@ -28,7 +28,7 @@ class Training < ActiveRecord::Base def pay_order_title case training_type when 3 then '全国高校大数据和人工智能暑期师资培训会-报名费' - when 4 then '工程教育认证培训会-报名费' + when 4 then '工程教育专业认证师资培训会-报名费' end end diff --git a/app/views/trainings/enroll.html.erb b/app/views/trainings/enroll.html.erb index d7a2e59a..45fbabf8 100644 --- a/app/views/trainings/enroll.html.erb +++ b/app/views/trainings/enroll.html.erb @@ -124,7 +124,7 @@ <% end %>
-

<%= @training_type == 3 ? '信息技术新工科产学研联盟师资培训班' : '工程教育认证' %>

+

<%= @training_type == 3 ? '信息技术新工科产学研联盟师资培训班' : '工程教育专业认证师资培训' %>

<%= form_for @training do |f| %> <%= hidden_field_tag(:friendly_id, @friendly_id) %>