BBnepal-Accounts/account/application/views/translations/edit.php

67 lines
3.0 KiB
PHP
Raw Permalink Normal View History

2024-07-10 12:43:19 +00:00
<div class="content-wrapper">
<div class="content">
<div class="container-fluid">
<div class="row">
<div class="col">
<div class="card card-primary card-outline">
<div class="card-header">
<h5 class="m-0">Create <?php echo $pageTitle; ?> <?php showListButton($this->uri->segment(1) . "/" . $this->uri->segment(2) . "/list","List
".$pageTitle); ?></h5>
</div>
<div class="card-body">
<?php $id = $this->uri->segment(4);
$TableData = $this->db->query("select * from tbl_translations where translation_id =\"$id\" ")->row(); ?>
<form method=POST action="" enctype="multipart/form-data" name="tbl_translations">
<div class="row">
<!--COL START-->
<div class="col">
<div class="form-group">
<label for="english"><?php myLang('English'); ?></label><input type="text" class="form-control" id="english" value="<?php echo $TableData->english; ?>" name="english">
</div>
</div>
<!--COL END-->
</div>
<div class="row">
<!--COL START-->
<div class="col">
<div class="form-group">
<label for="nepali"><?php myLang('Nepali'); ?></label><input type="text" class="form-control" id="nepali" value="<?php echo $TableData->nepali; ?>" name="nepali">
</div>
</div>
<!--COL END-->
</div>
<div class="row">
<!--COL START-->
<div class="col">
<div class="form-group">
<label for="remarks"><?php myLang('Remarks'); ?></label>
<textarea class="form-control" id="remarks" name="remarks"><?php echo $TableData->remarks; ?></textarea>
</div>
</div>
<!--COL END-->
</div>
<button type="reset" class="btn btn-default">Reset</button> <button class="btn btn-primary" type="submit" name="submit">Save</button>
</form>
</div>
</div>
</div>
</div>
</div>
</div>
</div>