<%= @venue_management.title %>

<% if @venue_management.venue_management_signup_field_sets.count != 0 %> <% @venue_management.venue_management_signup_field_sets.each do |field_set| %> <% if !(field_set.hidden) %> <% end %> <% end %> <% else %> <% end %> <% if @venue_management.venue_management_signup_field_customs.count != 0 %> <% @venue_management.venue_management_signup_field_customs.each do |field_set| %> <% if !(field_set.hidden) %> <% end %> <% end %> <% end %> <% if @venue_management.venue_management_submission_field_sets.count != 0 %> <% show1 = !(@venue_management.venue_management_submission_field_sets.select{|v| v.field_name=='title'}[0].hidden) show2 = !(@venue_management.venue_management_submission_field_sets.select{|v| v.field_name=='file'}[0].hidden) show3 = !(@venue_management.venue_management_submission_field_sets.select{|v| v.field_name=='description'}[0].hidden) %> <% else %> <% show1 = true show2 = true show3 = true %> <% end %> <% if show1 %> <% end %> <% if show2 %> <% end %> <% if show3 %> <% end %> <% @venue_management.venue_management_submission_fields.asc(:_id).each do |submission_field| %> <% end %> <% @venue_management_signups.each do |venue_management_signup| %> <% len = venue_management_signup.venue_management_signup_contributes.count %> <% if @venue_management.venue_management_signup_field_sets.count != 0 %> <% @venue_management.venue_management_signup_field_sets.each do |field_set| %> <% if !(field_set.hidden) %> <% end %> <% end %> <% else %> <% end %> <% if @venue_management.venue_management_signup_field_customs.count != 0 %> <% @venue_management.venue_management_signup_field_customs.each do |field_set| %> <% if !(field_set.hidden) %> <% end %> <% end %> <% end %> <% count_set = 0 %> <% if @venue_management.venue_management_submission_field_sets.count != 0 %> <% show1 = !(@venue_management.venue_management_submission_field_sets.select{|v| v.field_name=='title'}[0].hidden) show2 = !(@venue_management.venue_management_submission_field_sets.select{|v| v.field_name=='file'}[0].hidden) show3 = !(@venue_management.venue_management_submission_field_sets.select{|v| v.field_name=='description'}[0].hidden) %> <% @venue_management.venue_management_submission_field_sets.each do |field_set| %> <% if !(field_set.hidden) %> <% count_set+=1 %> <% end %> <% end %> <% else %> <% show1 = true show2 = true show3 = true %> <% count_set = 2 %> <% end %> <% if len==0 %> <% count_field = @venue_management.venue_management_submission_fields.count %> <% end %> <% end %> <% end %> <% if show2 %> <% end %> <% if show3 %> <% end %> <% count_value = venue_management_signup_contribute.venue_management_submission_values.count count_field = @venue_management.venue_management_submission_fields.count %> <% if count_value == count_field %> <% venue_management_signup_contribute.venue_management_submission_values.asc(:venue_management_submission_field_id).each do |value| %> <% end %> <% else %> <% for i in 1..(count_field-count_value) %> <% end %> <% end %> <% end %> <% end %>
<%= field_set.name[I18n.locale] %><%= t('venue_management_signup.name')%> <%= t('venue_management_signup.tel')%> <%= t('venue_management.registration_status')%><%= VenueManagementSignupField.where(id:field_set.venue_management_signup_field_id).first.title rescue '' %><%= t('venue_management_signup.title')%><%= t('venue_management_signup.file')%><%= t('venue_management_signup.description')%><%= submission_field.title %>
<% if field_set.field_name== 'name' %> <%= venue_management_signup.name %>
<% elsif field_set.field_name== 'status' %> <%= t("venue_management.registration_status_#{venue_management_signup.status}") if !venue_management_signup.status.blank? %> <% elsif field_set.field_name != 'recaptcha' %> <%= venue_management_signup.send("#{field_set.field_name}") %> <% end %>
<%= venue_management_signup.name %>
<%= venue_management_signup.tel %> <%= t("venue_management.registration_status_#{venue_management_signup.status}") if !venue_management_signup.status.blank? %> <% venue_management_signup.venue_management_signup_values.each do |venue_management_signup_values| %> <% if venue_management_signup_values.venue_management_signup_field_id == field_set.venue_management_signup_field_id %> <% if venue_management_signup_values.value.class == String || venue_management_signup_values.value.nil? %> <%= venue_management_signup_values.get_value_by_locale(I18n.locale,venue_management_signup_values) %> <% else %> <% venue_management_signup_values.value.each do |key,v| %> <%= "#{I18n.t(key)}:#{venue_management_signup_values.get_value_by_locale(key,venue_management_signup_values)}" %>
<% end %> <% end %> <% end %> <% end %>
  • <%= venue_management_signup_contribute.title.to_s %>
  • <%= link_to (venue_management_signup_contribute.title.blank? ? File.basename(venue_management_signup_contribute.file.path) : venue_management_signup_contribute.title) , venue_management_signup_contribute.file.url, {:target => '_blank', :title => Nokogiri::HTML(venue_management_signup_contribute.description).text} if venue_management_signup_contribute.file.file %>
  • <%= venue_management_signup_contribute.description.to_s.html_safe %>
  • <% if value.value.class == String || value.value.nil? %> <%= value.get_value_by_locale(I18n.locale,value) %> <% else %> <% value.value.each do |key,v| %> <%= "#{I18n.t(key)}:#{value.get_value_by_locale(key,value)}" %>
    <% end %> <% end %>
    <%= content_tag :div, class: "bottomnav clearfix" do content_tag :div, paginate(@venue_management_signups), class: "pagination pagination-centered" end %>
    <%= render 'layouts/delete_modal', delete_options: @delete_options %>