SHARE
TWEET

Untitled

a guest Jan 23rd, 2012 122 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. <?php echo $this->Form->create('Subpage',array('url'=>'/admin/subpages/add'))?>
  3. <div>
  4.   <table cellspacing="0" cellpadding="0" class="table">
  5.   <?php foreach($langs as $l):?>
  6.   <tr><td colspan="2">Language <?php echo $l['Language']['name']?></td></tr>
  7.   <tr>
  8.     <td class="label">Title</td>
  9.     <td class="text"><?php echo $this->Form->text('Subpage.title.'.$l['Language']['code'])?></td>
  10.   </tr>
  11.   <tr>
  12.     <td class="label">Content</td>
  13.     <td class="text"><?php echo $this->Form->textarea('Subpage.content.'.$l['Language']['code'],array('class'=>'ckeditor'))?></td>
  14.     </tr>
  15.   <?php endforeach;?>
  16.   </table>
  17. </div>
  18. <div><?php echo $this->Form->submit('Dodaj',array('class'=>'submit','div'=>false))?></div>
  19. <?php echo $this->Form->end();?>
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