{% extends 'farmer/base.html' %}
<title>Farmer | Dashboard</title>
{% block body_block %}
<!-- Content Wrapper. Contains page content -->
  <div class="content-wrapper">
  <!-- Content Header (Page header) -->
    <section class="content-header">
      <h1>
        Buat Pengajuan Peminjaman Uang       
      </h1>
    </section>
    <!-- Main content -->
    <section class="content">
      <div class="col-md-12">
          <!-- Horizontal Form -->
          <div class="box box-info">
            <div class="box-header with-border">
              <h3 class="box-title">Silahkan buat pengajuan peminjaman uang anda dengan mengisi form ini</h3>
            </div>
            <!-- /.box-header -->
            <!-- form start -->
            <form class="form-horizontal" role="form" action="/create-peminjaman-uang/" method="POST" enctype="multipart/form-data">
            {% csrf_token %}
              <div class="box-body">
                <div class="form-group">
                  <label  class="col-sm-2 control-label">Nama Bank</label>
                  <div class="col-sm-10">
                    <input type="text" class="form-control" placeholder="Cth : BNI / BCA / BRI" name="bank_name" required>
                  </div>
                </div>
                <div class="form-group">
                  <label  class="col-sm-2 control-label">No Rekening</label>
                  <div class="col-sm-10">
                    <input type="text" class="form-control" placeholder="Cth : BNI / BCA / BRI" name="no_rekening" required>
                  </div>
                </div>
                <div class="form-group">
                  <label  class="col-sm-2 control-label">Besar Peminjaman</label>

                  <div class="col-sm-10">
                    <input type="text" class="form-control" placeholder="Cth : Rp 2.500.000" name="besar_peminjaman" required>
                  </div>
                </div>
                <div class="form-group">
                  <label class="col-sm-2 control-label">Alasan Peminjaman</label>

                  <div class="col-sm-10">
                    <textarea class="form-control" name="alasan_peminjaman" placeholder="Cth : Untuk mengolah lahan dan membeli peralatan pengolahan lahan, seperti cangkul, dll." required></textarea>
                  </div>
                </div>                                
              </div>
              <!-- /.box-body -->
              <div class="box-footer">
                <button type="reset" class="btn btn-default">Reset</button>
                <button type="submit" class="btn btn-info pull-right">Ajukan</button>
              </div>
              <!-- /.box-footer -->
            </form>
          </div>
    </section>  
{% endblock %}