62 lines
2.5 KiB
PHP
62 lines
2.5 KiB
PHP
<?php include $app->getModuleRoot() . 'common/view/header.html.php';?>
|
|
<div id="mainContent" class="main-content">
|
|
<div class='center-block'>
|
|
<div class="main-header">
|
|
<h2><?php echo $lang->measurement->editBasic;?></h2>
|
|
</div>
|
|
<form class='main-form form-ajax' method='post' enctype='multipart/form-data' id='dataform'>
|
|
<table class="table table-form">
|
|
<tbody>
|
|
<tr>
|
|
<th><?php echo $lang->measurement->name;?></th>
|
|
<td><?php echo html::input('name', $measurement->name, 'class="form-control"');?></td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<th><?php echo $lang->measurement->code;?></th>
|
|
<td><?php echo html::input('code', $measurement->code, 'class="form-control"');?></td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<th><?php echo $lang->measurement->scope;?></th>
|
|
<td><?php echo html::select('scope', $lang->measurement->scopeList, $measurement->scope, 'class="form-control"');?></td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<th><?php echo $lang->measurement->object;?></th>
|
|
<td><?php echo html::select('object', $lang->measurement->objectList, $measurement->object, 'class="form-control"');?></td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<th><?php echo $lang->measurement->purpose;?></th>
|
|
<td><?php echo html::select('purpose', $lang->measurement->purposeList, $measurement->purpose, 'class="form-control"');?></td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<th><?php echo $lang->measurement->unit;?></th>
|
|
<td><?php echo html::input('unit', $measurement->unit, 'class="form-control"');?></td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<th><?php echo $lang->measurement->definition;?></th>
|
|
<td><?php echo html::textarea('definition', $measurement->definition, 'class="form-control"');?></td>
|
|
<td></td>
|
|
</tr>
|
|
<?php include './editcollectconf.html.php';?>
|
|
</tbody>
|
|
<tfoot>
|
|
<tr class='form-actions text-center'>
|
|
<td colspan='3'><?php echo html::submitButton();echo html::backButton();?></td>
|
|
</tr>
|
|
</tfoot>
|
|
</table>
|
|
<?php echo html::hidden('measurementID',$measurement->id);?>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
<script>
|
|
$('#subNavbar ul li[data-id="settips"]').removeClass('active');
|
|
$('#subNavbar ul li[data-id="template"]').removeClass('active');
|
|
</script>
|
|
<?php include $app->getModuleRoot() . 'common/view/footer.html.php';?>
|