summaryrefslogtreecommitdiffstats
path: root/application/views/user/invite.php
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2018-05-18 23:06:40 +0200
committerFlorian Pritz <bluewind@xinu.at>2018-05-18 23:10:31 +0200
commit11ea08df8d4784aad4836852180098c45b90c5a2 (patch)
tree390e3fc854aca566c51e303960bf113b8c18f8e7 /application/views/user/invite.php
parent9f8486c87cd81cdb888b8e518f0d3eb50b6abbb9 (diff)
Add invitation key deletion
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application/views/user/invite.php')
-rw-r--r--application/views/user/invite.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/application/views/user/invite.php b/application/views/user/invite.php
index d3e2fb7a6..042ba0b61 100644
--- a/application/views/user/invite.php
+++ b/application/views/user/invite.php
@@ -26,6 +26,12 @@
<td><?php echo $i++; ?></td>
<td><?php echo anchor("user/register/".$item["key"], $item["key"]) ?></td>
<td><?php echo date("Y/m/d H:i", $item["date"]) ?></td>
+ <td>
+ <?php echo form_open('user/delete_invitation_key'); ?>
+ <input class="btn btn-danger btn-xs" type="submit" value="Delete" name="delete" />
+ <input type="hidden" name="key" value="<?php echo $item["key"]; ?>" />
+ </form>
+ </td>
</tr>
<?php endforeach; ?>
</tbody>