#prices_jquery_start .col-md-12 = simple_form_for(@activity_price, html: { role: 'form' }) do |f| = f.error_notification .form-inputs .col-md-12 %strong Activity Title: - if @activity_price = @activity_price.activity.title_en .col-md-10.col-xs-9 - if params[:activity] - param = params[:activity] - else - param = @activity_price.activity_id = f.input :activity_id, as: :hidden, input_html: { value: param } .row .col-md-12 %hr %br .row .col-md-6.col-xs-6 = f.input :p_title_en, input_html: { placeholder: '2 Person pass '}, label: 'Title EN: ' .col-md-6.col-xs-6 = f.input :p_title_es, input_html: { placeholder: 'Pase para 2 personas '}, label: 'Title ES: ' .col-md-6.col-xs-6 = f.input :p_title_fr, input_html: { placeholder: 'Pass 2 personnes '}, label: 'Title FR: ' .col-md-6.col-xs-6 = f.input :p_title_ru, input_html: { placeholder: 'Билет на 2 человека '}, label: 'Title RU: ' .col-md-6.col-xs-6 = f.input :p_price, input_html: { placeholder: 'ej: 5000 '}, label: 'Price without commas (Ej: 50,00€ = 5000): ' .col-md-12 %hr .form-actions = f.button :submit, class: 'btn btn-success pull-right'