コード例 #1
0
ファイル: state_form.php プロジェクト: poovarasanm/alex
$breadcrumbs->render();
?>
							<div class="hide" id="result"></div>
							<form method="POST" id="state_form" action="/service" class="form-horizontal col-md-6">
								<input type="hidden" name="do" value="<?php 
echo $do;
?>
"/>
								<input type="hidden" name="state_id" value="<?php 
echo Form::set($state->state_id);
?>
"/>
								<div class="container-fluid">
									<label>State</label>
									<input class="form-control required" name="name" maxlength="50" value="<?php 
echo Form::set($state->name);
?>
"/>
								</div>								
								<div class="container-fluid">
									<label>Status</label>
									<select class="form-control required" name="status" required>
										<option value="0" <?php 
Form::select('Active', $state->status);
?>
>Active</option>
										<option value="1" <?php 
Form::select('Inactive', $state->status);
?>
>Inactive</option>
									</select>
コード例 #2
0
ファイル: job_form.php プロジェクト: poovarasanm/alex
$breadcrumbs->render();
?>
							<div class="hide" id="result"></div>
							<form method="POST" id="job_form" action="/service" class="form-horizontal col-md-6">
								<input type="hidden" name="do" value="<?php 
echo $do;
?>
"/>
								<input type="hidden" name="job_id" value="<?php 
Form::set($job->job_id);
?>
"/>
								<div class="container-fluid">
									<label>Job title</label>
									<input class="form-control required" name="name" maxlength="50" value="<?php 
Form::set($job->name);
?>
"/>
								</div>
								<div class="container-fluid">
									<label>Status</label>
									<select class="form-control required" name="status" required>
										<option value="0" <?php 
Form::select('Active', $job->status);
?>
>Active</option>
										<option value="1" <?php 
Form::select('Inactive', $job->status);
?>
>Inactive</option>
									</select>
コード例 #3
0
ファイル: city_form.php プロジェクト: poovarasanm/alex
$breadcrumbs->render();
?>
							<div class="hide well-sm" id="result"></div>
							<form method="POST" id="city_form" action="/service" class="form-horizontal col-md-6">
								<input type="hidden" name="do" value="<?php 
echo $do;
?>
"/>
								<input type="hidden" name="city_id" value="<?php 
Form::set($city->city_id);
?>
"/>
								<div class="container-fluid">
									<label>City</label>
									<input class="form-control required" name="name" value="<?php 
Form::set($city->name);
?>
"/>
								</div>
								<div class="container-fluid">
									<label>State</label>
									<select class="form-control" name="state_id">
										<option value="0" disabled="true">Choose</option>
										<?php 
foreach ($states as $state) {
    ?>
											<option 
											<?php 
    Form::select($state['state_id'], $city->state_id);
    ?>
												value="<?php 
コード例 #4
0
ファイル: company_form.php プロジェクト: poovarasanm/alex
									</div>
								</div>
								<?php 
}
?>
								<hr/>
								<div class="container-fluid">
									<label>Company administrator</label>
								</div>
								<div class="container-fluid">
									<label>Password</label>
									<input type="password"
										   class="form-control required"
										   name="passwd"
										   value="<?php 
Form::set($company->passwd);
?>
"
										   maxlength="20"/>
								</div>
								<div class="container-fluid">
									<label>Status</label>
									<select class="form-control required" name="status">
										<option value="0" <?php 
Form::select('Active', $company->status);
?>
>Active</option>
										<option value="1" <?php 
Form::select('Inactive', $company->status);
?>
>Inactive</option>
コード例 #5
0
$breadcrumbs->render();
?>
							<div class="hide" id="result"></div>
							<form method="POST" id="qualification_form" action="/service" class="form-horizontal col-md-6">
								<input type="hidden" name="do" value="<?php 
echo $do;
?>
"/>
								<input type="hidden" name="qualification_id" value="<?php 
Form::set($qualification->qualification_id);
?>
"/>
								<div class="container-fluid">
									<label>Qualification</label>
									<input class="form-control required" name="name" maxlength="50" value="<?php 
Form::set($qualification->name);
?>
"/>
								</div>
								<div class="container-fluid">
									<label>Status</label>
									<select class="form-control required" name="status" required>
										<option value="0" <?php 
Form::select('Active', $qualification->status);
?>
>Active</option>
										<option value="1" <?php 
Form::select('Inactive', $qualification->status);
?>
>Inactive</option>
									</select>
コード例 #6
0
ファイル: employee_form.php プロジェクト: poovarasanm/alex
									<input class="form-control required" name="contact_person" maxlength="50" value="<?php 
Form::set($employee->fullname);
?>
"/>
								</div>
								<div class="container-fluid">
									<label>Phone no</label>
									<input class="form-control required" name="contact_number" maxlength="50" value="<?php 
Form::set($employee->phone);
?>
"/>
								</div>
								<div class="container-fluid">
									<label>Password</label>
									<input class="form-control required" type="password" name="passwd" maxlength="50" value="<?php 
Form::set($employee->passwd);
?>
"/>
								</div>
								<div class="container-fluid">
									<label>Status</label>
									<select class="form-control required" name="status" required>
										<option value="0" <?php 
Form::select('Active', $employee->status);
?>
>Active</option>
										<option value="1" <?php 
Form::select('Inactive', $employee->status);
?>
>Inactive</option>
									</select>