<% content_for :page_specific_css do %> <%= stylesheet_link_tag "payment/payment" %> <% end %>
<% helper1 = Admin::PaymentSetup.module_eval "#{select_option.split('_').map{|v| v.capitalize}.join('')}Helper" %> <% helper1.get_setup_form(option_id).each do |child| %> <% if child[1]=='text' %> <% elsif child[1]=='select' %> <%= select_tag("data[#{child[0]}]",options_for_select(child[2],:selected => child[3]),{:class => 'payment_setup'}) %> <% elsif child[1]=='number' %>
<% Array(child[2]).each_with_index do |number,index1| %>
<%= index1+1 %>. <%= "".html_safe if index1!=0 %>
<% end %> <% end %>
<% end %> <%= "".html_safe %> <%= "".html_safe if !option_id.nil? %>