<%= @venue_management.title %>
<% if @venue_management.venue_management_signup_field_sets.count != 0 %>
<% @venue_management.venue_management_signup_field_sets.each do |signup_field| %>
<% if !(signup_field.disabled) && signup_field.field_name != 'recaptcha' %>
<% if signup_field.field_name == 'status' %>
<% if @venue_management.registration_status.include?('G') %>
<% end %>
<% if @venue_management.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 @venue_management.registration_status.include?('G') %>
<% end %>
<% if @venue_management.registration_status.include?('C') %>
<% end %>
<%= f.text_field :name, :class=>"input-block-level", :id=>'name', :placeholder=> t('venue_management_signup.name'), :required => true %>
<%= f.text_field :tel, :class=>"input-block-level", :placeholder=> t('venue_management_signup.tel'), :required => true %>
<%= f.email_field :email, :class=>"input-block-level", :placeholder=> t(:email), :required => true %>
check mail
<%= f.text_field :password, :class=>"input-block-level", :placeholder=> t('venue_management_signup.password') %>
<%= t('venue_management_signup.password_message') %>
<% end %>
<% @form_index = 0 %>
<% @venue_management.venue_management_signup_fields.asc(:_id).each do |rf| %>
<%= rf.block_helper(@venue_management,@form_index,false,"venue_management_signup",@venue_management_signup, rf.to_require) %>
<% @form_index = @form_index +1 %>
<% end %>