예제 #1
0
<?php

echo form_open($form_action, ' name="frm-qform" class="form-horizontal" data-ajax="wdpajax" data-options=\'{"params" : "ajax", "loader" : "modal"}\'', $hiddenvars);
?>
			
<div class="row">
	
	<div class="col-sm-12">
	
		<div class="form-group">
			<label class="col-sm-3 control-label no-padding-right" for="form_section_id">Section Page:</label>
			<div class="col-sm-7">
				<?php 
echo form_dropdown('form_section_id', cust_tbls_dropdown('return', 'form_section', TRUE), $form_section_id, 'class="form-control input-sm" data-placeholder="Select section page"');
?>
				<?php 
echo form_error('form_section_id', '<label class="error">', '</label>');
?>
			</div>
		</div>

		<div class="form-group">
			<label class="col-sm-3 control-label no-padding-right" for="description">Description:</label>
			<div class="col-sm-8">
				<?php 
echo form_input('description', $description, 'id="description" class="form-control input-sm"');
?>
				<?php 
echo form_error('description', '<label class="error">', '</label>');
?>
			</div>
예제 #2
0
echo $embargo_start_date;
?>
" />
														<span class="input-group-addon"><i class="fa fa-calendar"></i></span>
													</div>
													<?php 
echo form_error('embargo_start_date', '<label class="error">', '</label>');
?>
												</div>
											</div>

											<div class="form-group">
												<label class="col-sm-6 control-label no-padding-right" for="status">STATUS:</label>
												<div class="col-sm-6">
													<?php 
echo form_dropdown('status', cust_tbls_dropdown('return', 'statuses', TRUE), $status, 'class="form-control" data-placeholder="I\'ll choose it later on"');
?>
													<?php 
echo form_error('status', '<label class="error">', '</label>');
?>
												</div>
											</div>

											<div class="form-group">
												<label class="col-sm-6 control-label no-padding-right" for="power_build_pack_requested">POWER BUILD PACK REQUESTED:</label>
												<div class="col-sm-6">
													<div class="input-group col-sm-12 input-group-sm">
														<input name="power_build_pack_requested"  id="power_build_pack_requested" type="text" class="form-control dpicker" placeholder="dd/mm/yyyy" value="<?php 
echo $power_build_pack_requested;
?>
" />