<section style="padding-bottom:2rem;">
	<div class="container">
		<div class="card bg-light-transparent">
			<div class="card-body">
				<div class="card no-shadow" >
					<div class="card-body">
						<div class="row">
							<div class="col">
								<h3>Workflow</h3>
							</div>
						</div>
						<div class="row">
							<div class="col-12 col-lg-10">
								<select class="form-control" id="workflowSelect" onchange="actionType()">
									<?php foreach ($workflows as $key => $work): ?>
										<option value="<?php echo $work->id; ?>" data-workflow="<?php echo base64_encode($work->workflow); ?>" ><?php echo $work->name; ?></option>
									<?php endforeach ?>
								</select>
							</div>
							<div class="col-12 col-lg-2 text-center" >
								<div class="btn-group">

									<!-- <button class="btn btn-warning text-white" data-trigger="hover" data-tooltip="tooltip" title="" data-original-title="Edit Workflow">
										<i class="fas fa-folder"></i>
									</button> -->
									
									<button class="btn btn-danger text-white" data-trigger="hover" data-tooltip="tooltip" title="" data-original-title="Remove Workflow" onclick="removeWorkflow();">
										<i class="fas fa-folder-minus"></i>
									</button>
								</div>
								<a href="<?php echo base_url('/hr/StaffProfile/add_workflow'); ?>" class="btn btn-primary text-white" data-trigger="hover" data-tooltip="tooltip" title="" data-original-title="Add New Workflow">
									<i class="fas fa-folder-plus"></i>
								</a>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
</section>