<div class="border border-primary row mb-2 p-2">
	<div class="row">
		<div class='col-12 mb-1'>
			<button class="btn btn-sm btn-danger" type="button" onclick='acttext_del(this)'>X</button>
		</div>
	</div>
	<div class="form-group row">
		<div class='col-12'>
			<input type='hidden' name='actdetailid[]' value=''>
			<select class='form-control form-control-sm' style='border-color:blue !important;' name='acttextid[]'>";							
				<?php
				foreach ($acttext as $data) {
					$qacttextid = $data['acttextid'];
					$qacttextcode = $data['acttextcode'];
					$qfulltext = $data['fulltext'];
					echo "<option value='$qacttextid'>$qacttextcode - $qfulltext</option>";
				}
				?>
			</select>
		</div>
	</div>
	<div class="form-group row">
		<div class='col-12'>
			<textarea class="form-control editor" name="textvalue[]"></textarea>
		</div>
	</div>
</div>