<?php $__env->startSection('title','Özgün Tarım - '. $page->title); ?>
<?php $__env->startSection('foot_hook'); ?>
@parent
    <?php echo HTML::script('static/plugin/select2/select2.js'); ?>
    <script>
        $(document).ready(function(){
            $('#aydi').select2();
        });
    </script>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('head_hook'); ?>
@parent
<?php echo HTML::style('static/plugin/select2/select2.css'); ?>
    <?php echo HTML::style('static/plugin/select2/select2-bootstrap.css'); ?>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('_content'); ?>
<div class="container page order" id="content">







    <h2 class="title">Sipariş Talep Formu</h2>







    <div class="order-page">



  <div class="row">







      <div class="col-md-6">











          <?php if(Session::has('message')): ?>







            <div class="alert alert-success">



                <?php echo Session::get('message'); ?>



            </div>











          <?php else: ?>











          <?php echo Former::open()->method('POST')->action(URL::to('siparis')); ?>







          <?php echo Former::text('name')->placeholder('İsim - Soyisim')->required(true)->label(false); ?>







          <?php echo Former::email('email')->placeholder('E-Posta Adresiniz')->label(false); ?>







          <?php echo Former::text('company')->placeholder('Firma Adı')->required(true)->label(false); ?>







          <?php echo Former::text('phone')->placeholder('Telefon Numaranız')->required(true)->label(false); ?>







          <?php echo Former::text('address')->placeholder('Adresiniz')->label(false); ?>







          <div class="form-group">







              <select data-placeholder="İstediğiniz Ürünü Seçiniz.. (birden fazla ürün seçebilirsiniz)" id="aydi" multiple class="form-control" name="product">



                  <?php foreach(Product::orderBy('title')->get() as $product): ?>







                        <option><?php echo $product->title; ?></option>





                  <?php endforeach; ?>



              </select>







          </div>







          <?php echo Former::textarea('message')->placeholder('Notunuz')->label(false)->rows(7); ?>







            <button type="submit" class="btn btn-default">Gönder</button>







          <?php echo Former::close(); ?>







          <?php endif; ?>











      </div>







      <div class="col-md-6 text-center">





          <span style="background-color: white; padding: 10px; color: black; position: relative; top:5px;">BANKA HESAP BİLGİLERİMİZ</span>



          <ul class="list-unstyled bank">



              <?php foreach(OrderBank::all() as $bank): ?>



              <li style="margin-top: 30px;margin-bottom: 20px; border-bottom: 1px solid #4d747b; padding-bottom: 20px;"><h4><?php echo $bank->title; ?></h4>



                  <?php echo nl2br($bank->value); ?>



              </li>



              <?php endforeach; ?>



          </ul>



      </div>









  </div>



    </div>







</div>











<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.wrap', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>