2019-07-09 16:18:19 +00:00
|
|
|
<div class="container api">
|
|
|
|
|
|
|
|
<br>
|
|
|
|
<?php if($this->session->flashdata('notice')) { ?>
|
|
|
|
<div class="alert alert-success" role="alert">
|
|
|
|
<?php echo $this->session->flashdata('notice'); ?>
|
|
|
|
</div>
|
|
|
|
<?php } ?>
|
|
|
|
|
|
|
|
<div class="card">
|
|
|
|
<div class="card-header">
|
|
|
|
<?php echo $page_title; ?>
|
|
|
|
</div>
|
|
|
|
<div class="card-body">
|
|
|
|
<h5 class="card-title">Editing Description for API Key: <?php echo $api_info['key']; ?></h5>
|
|
|
|
|
|
|
|
<?php if(validation_errors()) { ?>
|
|
|
|
<div class="alert alert-warning" role="alert">
|
|
|
|
<?php echo validation_errors(); ?>
|
|
|
|
</div>
|
|
|
|
<?php } ?>
|
|
|
|
|
|
|
|
|
|
|
|
<form method="post" action="<?php echo site_url('api/edit'); ?>/<?php echo $api_info['key']; ?>" name="APIDescription">
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="APIDescription">API Description</label>
|
|
|
|
<input type="text" class="form-control" name="api_desc" id="APIDescription" aria-describedby="APIDescriptionHelp" value="<?php echo $api_info['description']; ?>">
|
2020-10-08 22:26:35 +00:00
|
|
|
<small id="APIDescriptionHelp" class="form-text text-muted">Simple name to describe what you use this API for.</small>
|
2019-07-09 16:18:19 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<input type="hidden" name="api_key" value="<?php echo $api_info['key']; ?>">
|
|
|
|
|
|
|
|
<button type="submit" class="btn btn-primary">Submit</button>
|
|
|
|
</form>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|