<div class="control-group">
  <label class="control-label" for="page-titulo">Texto</label>
  <div class="controls">
    
    <textarea name="page[titulo]" rows="3" class="input-xxlarge "><?=$this->page->titulo?></textarea>
  </div>
</div>



<div class="control-group">
  <label class="control-label" for="fileInput">Logo</label>
  <div class="controls">
    <input class="input-file" type="file" id="fileInput" name="arquivo" />

   <span class="help-block">
     <? if(!empty($this->page->arquivo)){ ?>
     <input type="hidden" name="page[old_arquivo]" value="<?=$this->page->arquivo;?>"/>
     <a href="<?=$this->urlTo("uploads/banners/".$this->page->arquivo);?>" target="_blank">Ver atual</a>
     <? } ?>
     
     </span>
  </div>
</div>




<?php if (!empty($this->page->id)) {?>
<hr>
  <div class="control-group">
  

  
  
</div>
<?php }?>




<input type='hidden' name='page[id]' value='<?= $this->page->id; ?>'/>

