% # encoding: utf-8 %> <% data = action_data @con = data["con"] @seminar = data["seminar"] @seminar_signup = data["seminar_signup"] %> <% if !session[:seminar_signup_id].blank? %> <% if ( @seminar.contribute_file_count.blank? or @seminar_signup.seminar_signup_contributes.count < @seminar.contribute_file_count.to_i ) %> <%= form_for @con, url: add_file_proc_seminars_path, html: {class: "content form-horizontal" , :id=>"new-seminar-signup-contribute"} do |f| %>