<div class="card-box mb-30">
						
						<div class="pd-20" style="display: flex; justify-content: space-between;">
							<h4 class="text-blue h4">Curah Hujan</h4>
							<a href="<?= base_url('curah_hujan/input') ?>">
							<button type="button" class="btn btn-primary">Tambah</button>
							</a>
						</div>
						
						

						<div class="table-responsive">
							<table class="data-table table stripe hover ">
								<thead>
									<tr>
										<th class="table-secondary">No.</th>
										<th>Tahun</th>
										<th class="table-primary">Januari</th>
										<th>Februari</th>
										<th class="table-primary">Maret</th>
										<th >April</th>
										<th class="table-primary">Mei</th>
										<th>Juni</th>
										<th class="table-primary">Juli</th>
										<th>Agustus</th>
										<th class="table-primary">September</th>
										<th>Oktober</th>
										<th class="table-primary">November</th>
										<th>Desember</th>
										<th class="table-primary">Action</th>
									</tr>
								</thead>
								<tbody>
								<?php $no = 1;
                            foreach ($data_curah->getResult() as $row) : ?>
									<tr>
										<td class="table-secondary"><?= $no++; ?></td>
										<td><?= $row->Tahun?></td>
										<td class="table-primary"><?= $row->Januari?></td>
										<td ><?= $row->Februari?></td>
										<td class="table-primary"><?= $row->Maret?></td>
										<td ><?= $row->April?></td>
										<td class="table-primary"><?= $row->Mei?></td>
										<td><?= $row->Juni?></td>
										<td class="table-primary"><?= $row->Juli?></td>
										<td><?= $row->Agustus?></td>
										<td class="table-primary"><?= $row->September?></td>
										<td><?= $row->Oktober?></td>
										<td class="table-primary"><?= $row->November?></td>
										<td><?= $row->Desember?></td>
										<td class="table-primary">
											<div class="dropdown">
												<a
													class="btn btn-link font-24 p-0 line-height-1 no-arrow dropdown-toggle"
													href="#"
													role="button"
													data-toggle="dropdown"
												>
													<i class="dw dw-more"></i>
												</a>
												<div
													class="dropdown-menu dropdown-menu-right dropdown-menu-icon-list"
												>
												
													<a class="dropdown-item" href="<?= base_url('curah_hujan/edit/' .$row->id) ?>"
														><i class="dw dw-edit2"></i> Edit</a
													>
													<a class="dropdown-item" href="<?= base_url('curah_hujan/delete/' .$row->id) ?>"
														><i class="dw dw-delete-3"></i> Delete</a
													>
												</div>
											</div>
										</td>
									</tr>
									<?php endforeach; ?>

									
								</tbody>
							</table>
						</div>
					</div>