@if ($question->custom_ui === 'crop_area_table')
    <table class="table table-bordered">
        <thead>
            <tr>
                <th>Komoditi<br><small>Commodity</small></th>
                <th>Jenis tanaman<br><small>Crop</small></th>
                <th>Keluasan bertanam (ha)<br><small>Planted area (ha)</small></th>
            </tr>
        </thead>
        <tbody>
            <tr>
                <td>Buah-buahan<br><small>Fruits</small></td>
                <td><input type="text" name="crop[fruits]" class="form-control" placeholder="Jenis tanaman"></td>
                <td><input type="number" name="area[fruits]" class="form-control" placeholder="Keluasan bertanam (ha)"></td>
            </tr>
            <tr>
                <td>Sayur-sayuran<br><small>Vegetables</small></td>
                <td><input type="text" name="crop[vegetables]" class="form-control" placeholder="Jenis tanaman"></td>
                <td><input type="number" name="area[vegetables]" class="form-control" placeholder="Keluasan bertanam (ha)"></td>
            </tr>
            <tr>
                <td>Padi<br><small>Paddy</small></td>
                <td><input type="text" name="crop[paddy]" class="form-control" placeholder="Jenis tanaman"></td>
                <td><input type="number" name="area[paddy]" class="form-control" placeholder="Keluasan bertanam (ha)"></td>
            </tr>
            <tr>
                <td>Lain-lain<br><small>Others</small></td>
                <td><input type="text" name="crop[others]" class="form-control" placeholder="Jenis tanaman"></td>
                <td><input type="number" name="area[others]" class="form-control" placeholder="Keluasan bertanam (ha)"></td>
            </tr>
        </tbody>
    </table>
    <div class="form-group mt-3">
        <label for="total_area">Jumlah Keluasan Ladang Bertanam (ha) :</label>
        <input type="number" name="total_area" id="total_area" class="form-control" placeholder="Total planted area (ha)">
    </div>
@endif
