% venue_method = Admin::VenueManagementsFieldHelper::VenueMethod %> <% content_for :page_specific_css do %> <%= stylesheet_link_tag "lib/main-forms" %> <%= stylesheet_link_tag "lib/fileupload" %> <%= stylesheet_link_tag "lib/main-list" %> <% end %> <% content_for :page_specific_javascript do %> <%= javascript_include_tag "lib/bootstrap-fileupload" %> <%= javascript_include_tag "lib/bootstrap-datetimepicker" %> <%= javascript_include_tag "lib/datetimepicker/datetimepicker.js" %> <%= javascript_include_tag "lib/file-type" %> <%= javascript_include_tag "lib/module-area" %> <% end %>
<%= t('venue_management.field_name') %> | <%= t('venue_management.hidden') %> | <% @custom_set.each_with_index do |attr_custom,custom_index| %>
---|---|
<%= VenueManagementSignupField.where(id:attr_custom.venue_management_signup_field_id).first.title rescue '' %> | <%= check_box_tag("venue_management_main[venue_management_signup_field_customs][#{custom_index}][hidden]", true ,attr_custom.hidden) %> |
<%= t('venue_management.disable') %> | <%= check_box_tag("venue_management_main[venue_management_email_sets][#{index1}][disabled]", true ,@email_set[index1].disabled) %> |
<%= t('venue_management.email_title') %> | <%= venue_method.show_set_field(@email_set[index1],'venue_management_email_sets',index1,'title','text_field') %> |
<%= t('venue_management.email_content') %> |
<%= venue_method.show_set_field(@email_set[index1],'venue_management_email_sets',index1,'content','text_area') %>
|
<%= hidden_field_tag 'venue_management_link_field_count', @venue_management.venue_management_links.count %> <%= t(:add) %>
<%= hidden_field_tag 'venue_management_file_field_count', @venue_management.venue_management_files.count %> <%= t(:add) %>