= javascript_include_tag Ckeditor.cdn_url = simple_form_for(@admin_auto_payment, as: :admin_auto_payments, method: :post, url: admin_auto_payments_path) do |f| //= simple_form_for(@admin_auto_payment) do |f| .row .col-lg-12.col-md-12.col-sm-12.col-xs-12 .col-lg-4.col-md-6.col-sm-6.col-xs-6 = f.text_field :name, requiered: true, :placeholder => t('first_name').mb_chars.downcase+'*', class: 'form-control padding-form-request', title: t('first_name').mb_chars.downcase = f.text_field :lastname, :placeholder => t('last_name').mb_chars.downcase, class: 'form-control padding-form-request', title: t('last_name').mb_chars.downcase = f.email_field :e_mail, requiered: true, :placeholder => t('email').mb_chars.downcase+'*', class: 'form-control padding-form-request', title: t('email').mb_chars.downcase = f.telephone_field :tel_num, requiered: true, :placeholder => t('phone').mb_chars.downcase+'*', class: 'form-control padding-form-request', title: t('phone').mb_chars.downcase .n50-l = f.text_field :date_from_ap, :placeholder => t('date_in').mb_chars.downcase+'*', class: 'date-from form-control padding-form-request ', title: t('date_in').mb_chars.downcase .n50-r = f.text_field :time_ap, :placeholder => t('time_in').mb_chars.downcase+'*', class: 'form-control padding-form-request ', title: t('time_in').mb_chars.downcase .n50-l .form-request-request = f.select :n_adults, options_for_select([[t('n_adults').mb_chars.downcase+'*', ' '], ['1', 1], ['2', 2], ['3', 3], ['4', 4], ['5', 5], ['6', 6], ['7', 7], ['8', 8], ['9', 9], ['10+', '10+']], :selected => @n_adults),{:include_blank => false}, {class: 'form-control-dropdown', title: t('n_adults').mb_chars.downcase+'*'} .n50-r .form-request-request = f.select :n_children, options_for_select([[t('n_children').mb_chars.downcase, ' '], ['1', 1], ['2', 2], ['3', 3], ['4', 4], ['5', 5], ['6', 6], ['7', 7], ['8', 8], ['9', 9], ['10+', '10+']], :selected => @n_children),{:include_blank => false}, {class: 'form-control-dropdown', title: t('n_children').mb_chars.downcase} .n50-l .n50-r = f.text_field :children_age, :placeholder => t('children_age').mb_chars.downcase, class: 'form-control', title: t('children_age').mb_chars.downcase = f.text_area :description, :placeholder => t('detailed_request').mb_chars.upcase, class: 'form-control', size: "24x4", title: t('detailed_request').mb_chars.downcase .hidden = f.text_field :nickname, hint: 'leave this field blank', :placeholder => 'Nickname', class: 'form-control' = f.hidden_field :ap_id, :value => @ap_id, class: 'form-control' = f.hidden_field :ap_type, :value => @contact_type, class: 'form-control' = f.hidden_field :url, :placeholder => 'url',:value => @url, class: 'form-control padding-form' .row .col-lg-12.col-md-12.col-sm-12.col-xs-12 %hr .actions.col-lg-6.col-md-6.col-sm-12.col-xs-12 = f.submit 'Save', class: 'btn btn-lg btn-success btn-block', id: 'save'