From 85291c1e99db230834a37445e2c901a1c0ac4882 Mon Sep 17 00:00:00 2001 From: rulingcom Date: Thu, 21 Mar 2024 18:15:50 +0800 Subject: [PATCH] added tshirt size and changed label --- app/views/seminars/show.html.erb | 9 ++++----- config/locales/zh_tw.yml | 4 ++-- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/app/views/seminars/show.html.erb b/app/views/seminars/show.html.erb index d9ca678..7563219 100644 --- a/app/views/seminars/show.html.erb +++ b/app/views/seminars/show.html.erb @@ -227,12 +227,11 @@ group = 1 counter = 0 %> - <% @seminar.seminar_signup_fields.where(:disabled=>false).asc(:sort_number, :_id).each_with_index do |rf, idx| %> - <% if(idx == 5) %> + <% if(idx == 6) %>
<% end %> - <% if(idx % 5 == 0) && idx != 0 %> + <% if(idx % 6 == 0) && idx != 0 %> <% group += 1 %> <% if @seminar_signup.seminar_signup_values[@form_index] && !@seminar_signup.seminar_signup_values[@form_index].value.blank? %>
@@ -246,11 +245,11 @@ <%= rf.block_helper(@seminar,@form_index,false,"seminar_signup",@seminar_signup, rf.to_require) %>
- <% if(counter % 5 == 0) && idx != 4 %> + <% if(counter % 6 == 0) && idx != 5 %> <% counter = 0 %>
<% end %> - <% if(idx == 25) %> + <% if(idx == 30) %>
<% end %> <% @form_index = @form_index +1 %> diff --git a/config/locales/zh_tw.yml b/config/locales/zh_tw.yml index 440a40e..7077879 100644 --- a/config/locales/zh_tw.yml +++ b/config/locales/zh_tw.yml @@ -181,7 +181,7 @@ zh_tw: sign_up_is_full: "報名已額滿!" sign_up_failed: "報名失敗" contribute_file_count: 投稿檔案數 - seminar_signup_success: 塑出註冊表單訊息頁 + seminar_signup_success: 送出註冊表單訊息頁 reset_password: 設定密碼 frontend: @@ -260,7 +260,7 @@ zh_tw: edit_form: 編輯註冊表單 emails_already_sent: 已寄送Email add_member: 增加組員 - remove_member: 移除加組員 + remove_member: 移除組員 is_confirmed_date: Email認證時間 signup_confirmed_date: 註冊查核確認時間 send_email_text: 附加額外文字內容