<%= form_for @act_signup, url: admin_active_signup_path(@act_signup), html: {class: "form-horizontal main-forms"} do |f| %>
<% 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 %>
<%= @act.title %>
<% if @act.enabled_name %>
<%= f.text_field :name, :class => "input-block-level" %>
<% end %> <% if @act.enabled_idno %>
<%= f.text_field :idno, :class => "input-block-level" %>
<% end %> <% if @act.enabled_birthday %>
<%= f.datetime_picker :birthday, :no_label => true, :format=>"yyyy/MM/dd", :new_record => false %>
<% end %> <% if @act.enabled_sex %>
<% end %> <% if @act.enabled_tel %>
<%= f.text_field :tel, :class=>"input-block-level" %>
<% end %> <% if @act.enabled_phone %>
<%= f.text_field :phone, :class=>"input-block-level" %>
<% end %> <% if @act.enabled_fax %>
<%= f.text_field :fax, :class=>"input-block-level" %>
<% end %> <% if @act.enabled_email %>
<%= f.email_field :email, :class=>"input-block-level" %>
<% end %> <% if @act.enabled_organization %>
<%= f.text_field :organization, :class=>"input-block-level" %>
<% end %> <% if @act.enabled_title %>
<%= f.text_field :title, :class=>"input-block-level" %>
<% end %> <% if @act.enabled_address %>
<%= f.text_area :address, rows: 5, :class=>"input-block-level" %>
<% end %> <% if @act.enabled_emergency_contact_person %>
<%= f.text_field :emergency_contact_person, :class=>"input-block-level" %>
<% end %> <% if @act.enabled_emergency_contact_number %>
<%= f.text_field :emergency_contact_number, :class=>"input-block-level" %>
<% end %> <% if @act.enabled_vegetarian %>
<% end %> <% if @act.enabled_note %>
<%= f.text_area :note, rows: 5, :class=>"input-block-level" %>
<% end %>
<%#= get_referer_url[:action] rescue "" %> <%= f.submit t('submit'), class: 'btn btn-primary' %> <%= link_to t('cancel'), "/admin/actives/#{@act.id}/act_signup", :class=>"btn" %>
<% end %>