<%= @seminar.title %>
<% if @seminar.seminar_signup_field_sets.count != 0 %>
<% @seminar.seminar_signup_field_sets.each do |signup_field| %>
<% if !(signup_field.disabled) && signup_field.field_name != 'recaptcha' %>
<% if signup_field.field_name == 'status' %>
<% if @seminar.registration_status.include?('G') %>
<% end %>
<% if @seminar.registration_status.include?('C') %>
<% end %>
<% elsif signup_field.field_name == 'unit' %>
<% elsif signup_field.field_name == 'address' %>
<% elsif signup_field.field_name == 'email' %>
<%= f.email_field :email, :class=>"input-block-level", :placeholder=> signup_field.placeholder[I18n.locale], :required => true %>
<% elsif signup_field.field_name == 'note' %>
<% else %>
<%= f.text_field signup_field['field_name'], :class=>"input-block-level", :id=>signup_field['field_name'], :placeholder=> signup_field.placeholder[I18n.locale], :required => (signup_field.field_name=='password' ? false : true) %>
<% end %>
<% end %>
<% end %>
<% else %>
<% if @seminar.registration_status.include?('G') %>
<% end %>
<% if @seminar.registration_status.include?('C') %>
<% end %>
<%= f.text_field :name, :class=>"input-block-level", :id=>'name', :placeholder=> t('seminar_signup.name'), :required => true %>
<%= f.text_field :tel, :class=>"input-block-level", :placeholder=> t('seminar_signup.tel'), :required => true %>
<%= f.email_field :email, :class=>"input-block-level", :placeholder=> t(:email), :required => true %>
check mail
<% end %>
<% @form_index = 0 %>
<% @seminar.seminar_signup_fields.where(:disabled=>false).asc(:sort_number, :_id).each do |rf| %>
<%= rf.block_helper(@seminar,@form_index,false,"seminar_signup",@seminar_signup, rf.markup == "file_field" ? false : rf.to_require) %>
<% @form_index = @form_index +1 %>
<% end %>