
<div class="page-header">
	<h3 class="page-title">
		<span class="page-title-icon bg-gradient-primary text-white mr-2">
			<i class="mdi mdi-worker"></i>
		</span>
		 Task Setting
	</h3>

</div>

<div >
	<div class="card">
		<div class="card-body">
			<form class="forms-sample" method="post" action="<?=base_url('setting/task_setting_update/'.$setting->id)?>">

				<div class="row">
					<div class="col-md-6">
						<div class="form-group">
							<label for="video_link">Video Link</label>
							<input type="url"  class="form-control" value="<?=$setting->video_link?>"  name="video_link" id="video_link" placeholder="Video Link">
						</div>
					</div>
					<div class="col-md-3">
						<div class="form-group">
							<label for="commision">Commission (Tk)</label>
							<input type="number" class="form-control" value="<?=$setting->commision?>"  name="commision" id="commision" placeholder="Commission" step="any">
						</div>
					</div>
					<div class="col-md-3">
						<div class="form-group">
							<label for="task_limit">Task Limit</label>
							<input type="number" class="form-control" value="<?=$setting->task_limit?>"  name="task_limit" id="task_limit" placeholder="Commission">
						</div>
					</div>
				</div>

				<div class="row form-group">
					<div class="col-12">
						<label for="description">Notice </label>
						<textarea class="form-control" name="rule_one" rows="5" id="rule_one"><?=$setting->rule_one?></textarea>
					</div>
				</div>


				<button  class="btn btn-gradient-primary mr-2">Update</button>

			</form>
		</div>
	</div>
</div>


<script src="https://cdn.ckeditor.com/4.11.3/standard-all/ckeditor.js"></script>
<script>
	CKEDITOR.replace('rule_one', {
		height: 200,
		removeButtons: "Image,Source,About"
	})
</script>

