templates/frontend/t_feedback/form.html.twig line 1

Open in your IDE?
  1. {{ form_start(form) }}
  2. <div class="modal-header">
  3.     {# <img class="align-center" src="{{ asset(parameter('open_data_icon')) }}" height="80px" width="100px"> #}
  4.     <button type="button" class="close" data-dismiss="modal">&times;</button>
  5. </div>
  6. <div class="modal-body">
  7.     <div class="list-item">
  8.         <p class="text-align-center fw-600 fs-16" style="color: #9e0a0a;">Bantu kami meningkatkan layanan dengan feedback Anda.</p>
  9.         <div class="form-group">
  10.             <label>Seberapa puaskah Anda dengan layanan yang kami berikan?
  11.                 <font color="red">*</font>
  12.             </label>
  13.             {# <div class="row d-flex justify-content-center">
  14.                                         <a class="item col-2 mx-1 px-0 d-inline text-center">
  15.                                             <img src="{{ asset('frontend/img/feedbacks/angry.png') }}" height="40px">
  16.                                             <p class="text-emoji font-13">Sangat tidak puas</p>
  17.                                         </a>
  18.                                         <a class="item col-2 mx-1 px-0 d-inline text-center">
  19.                                             <img src="{{ asset('frontend/img/feedbacks/sad.png') }}" height="40px">
  20.                                             <p class="text-emoji font-13">tidak puas</p>
  21.                                         </a>
  22.                                         <a class="item col-2 mx-1 px-0 d-inline text-center">
  23.                                             <img src="{{ asset('frontend/img/feedbacks/neutral.png') }}" height="40px">
  24.                                             <p class="text-emoji font-13">Biasa saja</p>
  25.                                         </a>
  26.                                         <a class="item col-2 mx-1 px-0 d-inline text-center">
  27.                                             <img src="{{ asset('frontend/img/feedbacks/smiling.png') }}" height="40px">
  28.                                             <p class="text-emoji font-13">Puas</p>
  29.                                         </a>
  30.                                         <a class="item col-2 mx-1 px-0 d-inline text-center">
  31.                                             <img src="{{ asset('frontend/img/feedbacks/in-love.png') }}" height="40px">
  32.                                             <p class="text-emoji font-13">Sangat puas</p>
  33.                                         </a>
  34.                                     </div> #}
  35.             <div class="rating">
  36.                 <input type="radio" name="star" id="star1" value="1">
  37.                 <label for="star1">
  38.                     <img src="{{ asset('frontend/img/feedbacks/angry.png') }}" height="60px">
  39.                     <p>Sangat tidak puas</p>
  40.                 </label>
  41.                 <input type="radio" name="star" id="star2" value="2">
  42.                 <label for="star2">
  43.                     <img src="{{ asset('frontend/img/feedbacks/sad.png') }}" height="60px">
  44.                     <p>Tidak puas</p>
  45.                 </label>
  46.                 <input type="radio" name="star" id="star3" value="3">
  47.                 <label for="star3">
  48.                     <img src="{{ asset('frontend/img/feedbacks/neutral.png') }}" height="60px">
  49.                     <p>Biasa saja</p>
  50.                 </label>
  51.                 <input type="radio" name="star" id="star4" value="4">
  52.                 <label for="star4">
  53.                     <img src="{{ asset('frontend/img/feedbacks/smiling.png') }}" height="60px">
  54.                     <p>Puas</p>
  55.                 </label>
  56.                 <input type="radio" name="star" id="star5" checked="" value="5">
  57.                 <label for="star5">
  58.                     <img src="{{ asset('frontend/img/feedbacks/in-love.png') }}" height="60px">
  59.                     <p>Sangat puas</p>
  60.                 </label>
  61.             </div>
  62.         </div>
  63.     </div>
  64.     <div class="list-item">
  65.         <div class="form-group">
  66.             <label>Apakah tujuan utama Anda mengunjungi laman {{ parameter('app_name') }} {{ parameter('client_shortname') }} hari ini?
  67.                 <font color="red">*</font>
  68.             </label>
  69.             {{ form_widget(form.tujuan) }}
  70.         </div>
  71.     </div>
  72.     <div class="list-item">
  73.         <div class="form-group">
  74.             <label>Pilih sektor/grup berikut yang mewakili posisi Anda saat ini
  75.                 <font color="red">*</font>
  76.             </label>
  77.             {{ form_widget(form.sektor) }}
  78.         </div>
  79.     </div>
  80.     <div class="list-item">
  81.         <div class="form-group">
  82.             <label>Apakah Anda berhasil menemukan data atau informasi yang Anda cari?
  83.                 <font color="red">*</font>
  84.             </label>
  85.             {{ form_widget(form.is_found) }}
  86.         </div>
  87.     </div>
  88.     <div class="list-item">
  89.         <div class="form-group">
  90.             <label>Apakah informasi yang anda cari mudah untuk didapatkan?
  91.                 <font color="red">*</font>
  92.             </label>
  93.             {{ form_widget(form.mudah_ditemukan) }}
  94.         </div>
  95.     </div>
  96.     <div class="list-item">
  97.         <div class="form-group">
  98.             <label>Manakah dari masalah dalam mendapatkan data berikut yang Anda alami?
  99.                 <font color="red">*</font>
  100.             </label>
  101.             {{ form_widget(form.kendala) }}
  102.         </div>
  103.     </div>
  104.     <div class="list-item">
  105.         <div class="form-group">
  106.             <label>Berikan saran dan masukan Anda untuk {{ parameter('app_name') }} {{ parameter('client_shortname') }} agar kami dapat memberikan layanan lebih baik lagi
  107.                 <font color="red">*</font>
  108.             </label>
  109.             {{ form_widget(form.saran) }}
  110.         </div>
  111.     </div>
  112.     <div class="modal-footer">
  113.         {{ form_widget(form.submit) }}
  114.     </div>
  115. </div>
  116. {{ form_end(form) }}
  117. <script>
  118.     function show(id) {
  119.         var id_pd = $("#pd");
  120.         var perangkat = $("#t_permohonan_div")
  121.         if (id == 1) {
  122.             perangkat.show()
  123.             perangkat.attr("required", "required")
  124.             $('#div').show()
  125.         } else {
  126.             perangkat.hide()
  127.             perangkat.removeAttr("required")
  128.             $('#div').hide()
  129.         }
  130.     };
  131. </script>