SHARE
TWEET

Untitled

a guest Jun 18th, 2019 46 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. class cadastroAction extends Action
  2. {
  3.     public function getResults()
  4.     {
  5.         return [
  6.             SUCCESS => new TemplateResult(
  7.                 'templates/basico.php', [
  8.                     'body' => 'views/cadastroLivros/titulo/form.php',
  9.                     'js' => [
  10.                         'js/livraria/cadastroLivros/titulo.js'
  11.                     ]
  12.                 ]
  13.             )
  14.         ];
  15.     }
  16.  
  17.     public function cadastrar(){
  18.  
  19.         return SUCCESS;
  20.  
  21.     }
  22. }
  23.      
  24. <div class="portlet light border-0">
  25.     <div class="portlet-title margin-botton-0">
  26.         <div class="caption font-blue-steel">
  27.             <i class="icon-trophy font-blue-steel"></i>
  28.             <span class="caption-subject bold uppercase">Livros</span>
  29.         </div>
  30.     </div>
  31.     <div class="portlet-body form">
  32.         <form method="POST" id="form-livros" >
  33.             <div class="form-group">
  34.                 <div class="col-md-12">
  35.                     <label>Descrição</label>
  36.                     <textarea class="form-control" rows="5"></textarea>
  37.                 </div>
  38.             </div>            
  39.         </form>
  40.     </div>
  41. </div>
  42.      
  43. $('#btn-nova-inscricao').fancybox({
  44.     titleShow: 'false',
  45.     type : 'iframe',
  46.     autoSize : false,
  47.     width : '100%',
  48.     height : '100%'
  49. });
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top