This commit is contained in:
BoHung Chiu 2020-10-16 16:32:20 +08:00
parent 62c78b4e05
commit e6b4c261d3
5 changed files with 21 additions and 5 deletions

View File

@ -211,7 +211,11 @@
<div class="form-actions">
<%= get_referer_url[:venue_managemention] rescue "" %>
<%= f.submit t('submit'), class: 'btn btn-primary' %>
<% if !params[:id].nil? %>
<input type="hidden" name="referer_url" value="<%= venue_management_bills_admin_venue_management_path(params[:id]) %>">
<% else %>
<input type="hidden" name="referer_url" value="<%= get_referer_url %>">
<% end %>
<%= link_to t('cancel'), venue_management_memorabilias_admin_venue_management_path(id: @venue_management.id), :class=>"btn" %>
</div>
<script type="text/javascript">

View File

@ -272,7 +272,11 @@
<div class="form-actions">
<%= get_referer_url[:venue_managemention] rescue "" %>
<%= f.submit t('submit'), class: 'btn btn-primary' %>
<% if !params[:id].nil? %>
<input type="hidden" name="referer_url" value="<%= venue_management_contracts_admin_venue_management_path(params[:id]) %>">
<% else %>
<input type="hidden" name="referer_url" value="<%= get_referer_url %>">
<% end %>
<%= link_to t('cancel'), venue_management_contracts_admin_venue_management_path(id: @venue_management.id), :class=>"btn" %>
</div>
<script type="text/javascript">

View File

@ -144,6 +144,10 @@
<div class="form-actions">
<%= get_referer_url[:venue_managemention] rescue "" %>
<%= f.submit t('submit'), class: 'btn btn-primary' %>
<% if !params[:id].nil? %>
<input type="hidden" name="referer_url" value="<%= venue_management_invitings_admin_venue_management_path(params[:id]) %>">
<% else %>
<input type="hidden" name="referer_url" value="<%= get_referer_url %>">
<% end %>
<%= link_to t('cancel'), venue_management_invitings_admin_venue_management_path(id: @venue_management.id), :class=>"btn" %>
</div>

View File

@ -71,6 +71,10 @@
<div class="form-actions">
<%= get_referer_url[:venue_managemention] rescue "" %>
<%= f.submit t('submit'), class: 'btn btn-primary' %>
<% if !params[:id].nil? %>
<input type="hidden" name="referer_url" value="<%= venue_management_memorabilias_admin_venue_management_path(params[:id]) %>">
<% else %>
<input type="hidden" name="referer_url" value="<%= get_referer_url %>">
<% end %>
<%= link_to t('cancel'), venue_management_memorabilias_admin_venue_management_path(id: @venue_management.id), :class=>"btn" %>
</div>

View File

@ -104,7 +104,7 @@ zh_tw:
set_venue_management_submission_field: 上傳介面欄位設定
set_venue_management_signup_field: 圈選設定
set_venue_management_item_content: 項目設定
set_venue_management_contracts: 履約
set_venue_management_contracts: 履約
set_venue_management_invitings: 招商公告
set_venue_management_memorabilias: 大事記
set_venue_management_bills: 費用管理