PHP Classes

File: Template/user/form.php

Recommend this page to a friend!
  Classes of kiran  >  MetaMagik  >  Template/user/form.php  >  Download  
File: Template/user/form.php
Role: Example script
Content type: text/plain
Description: Example script
Class: MetaMagik
Plugin to add custom form fields for Kanboard
Author: By
Last change:
Date: 1 year ago
Size: 499 bytes
 

Contents

Class file image Download
<h2><?= $form_headline ?></h2>
<form method="post" action="<?= $this->url->href('MetadataController', 'saveUser', ['plugin' => 'metaMagik', 'user_id' => $user['id']]) ?>" autocomplete="off">
    <?= $this->form->csrf() ?>

    <?= $this->form->text('key', $values, [], ['required', 'placeholder="'.t('Key').'"']) ?>
<?= $this->form->text('value', $values, [], ['required', 'placeholder="'.t('Value').'"']) ?>

    <input type="submit" value="<?= t('Save') ?>" class="btn btn-blue"/>
</form>

For more information send a message to info at phpclasses dot org.