Skip to content

Instantly share code, notes, and snippets.

Created August 25, 2016 16:48
Show Gist options
  • Save anonymous/202a4503e603cc0d2192d37f8bcd7cd1 to your computer and use it in GitHub Desktop.
Save anonymous/202a4503e603cc0d2192d37f8bcd7cd1 to your computer and use it in GitHub Desktop.
<?= $this->Form->create($contatcs) ?>
<fieldset>
<div class='input-list style-2 clearfix'>
<?php
echo $this->Form->input(('nome'), array('class' => 'form-control'));
echo $this->Form->input(('Email'),array('class' => 'form-control','empty' => 'entrada' ));
echo $this->Form->input(('mensagem'),array('type' => 'textarea','class' => 'form-control','empty' => 'entrada2' ));
?>
</div>
</fieldset>
<br/>
<?= $this->Form->button(__('Enviar Mensagem'),
array('class' => 'btn btn-primary button-marques', 'title' => 'Enviar Mensagem')) ?>
<?= $this->Form->end() ?>
<?php
class ContactsCell extends Cell
{
protected $_validCellOptions = [];
public function display()
{
<?= $this->cell('Contact::add') ?>
}
}
<? = $cell = $this->cell('Contatcts'); ?>
@cwbit
Copy link

cwbit commented Aug 25, 2016

<?= $cell = $this->cell('Contacts'); ?>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment