Created
February 27, 2018 18:13
-
-
Save TiagoSilvaPereira/d8c11b5cd37aa5e662d5e19ab746b86b to your computer and use it in GitHub Desktop.
Cendi Example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Cendi\App; | |
$app = new App(); | |
$app->setTitle('Cadastro de Pessoas'); | |
$app->addInput('nome'); | |
$app->addInput('tipo', 'select', ['fisica' => 'Pessoa Física', 'juridica' => 'Pessoa Jurídica']); | |
$app->addInput('descricao', 'text'); | |
$app->render(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment