<div id="page-wrapper">
	<div class="main-page">
		<ol class="breadcrumb">
			<li><a href="<?php echo base_url();?>"><i class="fa fa-home"></i></a></li>
			<li><a href="<?php echo base_url();?>instansi">Instansi</a></li>
			<li><a href="<?php echo base_url();?>instansi/anggota/<?php echo $id_instansi;?>">Anggota Instansi</a></li>
			<li class="active">Tambah Anggota Instansi Menggunakan Excel</li>
		</ol>
		<div class="forms">
			<div class=" form-grids row form-grids-right">
				<div class="widget-shadow " data-example-id="basic-forms"> 
					<div class="form-title">
						<h4>Tambah Anggota <?php echo $instansi->nama_instansi;?></h4>
					</div>
					<div class="form-body">
						<div class="alert alert-warning" role="alert">
							<strong>Perhatian!</strong> Upload anggota menggunakan excel hanya bisa digunakan untuk <strong>anggota muda</strong> saja.
						</div>
						<form class="form-horizontal" action="<?php echo base_url();?>Instansi/anggota_add_excel_exec" method="post" enctype="multipart/form-data">
							<input type="hidden" name="id_instansi" value="<?php echo $id_instansi;?>">
							<div class="form-group">
								<label class="col-sm-2 control-label">File Excel</label>
								<div class="col-sm-9">
									<input type="file" name="anggota" class="form-control" accept=".xls" required>
								<a href="<?php echo base_url();?>files/anggota_upload.xls"><i class="fa fa-download"></i> Download template excel disini!</a><br>
								<a href="<?php echo base_url();?>files/id_kelurahan.xls"><i class="fa fa-download"></i> Download id_kelurahan.xls disini!</a>
								</div>
							</div>
							<div class="clearfix"> </div>
							<div class="col-sm-offset-2">
								<a href="<?php echo base_url();?>instansi/anggota/<?php echo $id_instansi;?>" class="btn btn-danger"><i class="fa fa-times"></i> Batal</a>
								<button type="submit" class="btn btn-success"><i class="fa fa-upload"></i> Upload</button>
							</div>
						</form> 
					</div>
					<div class="clearfix"> </div>
				</div>
			</div>
		</div>
	</div>
</div>