PHP Classes
elePHPant
Icontem

File: View/Reports/add.ctp

Recommend this page to a friend!
  Classes of Andraž  >  pingvincek  >  View/Reports/add.ctp  >  Download  
File: View/Reports/add.ctp
Role: Example script
Content type: text/plain
Description: Example script
Class: pingvincek
Manage a site for organizing dates between people
Author: By
Last change:
Date: 2 years ago
Size: 492 bytes
 

 

Contents

Class file image Download
<?php

echo $this->Form->create('Report', array('class' => 'formStyle', 'default' => FALSE));

echo
$this->Form->hidden('user_id');
echo
$this->Form->hidden('reporter_user_id');

echo
$this->Form->input('message', array('label' => 'Sporo?ilo'));

echo
$this->Js->submit('Dodaj', array('style' => 'display: none;', 'url' => array('controller' => 'reports', 'action' => 'add', $uid), 'update' => '#tmpForm', 'id' => 'dodajBTN'));
echo
$this->Form->end();

echo
$this->Js->writeBuffer();
?>