<div class="control-group">
  <label class="control-label" for="page-titulo">Título</label>
  <div class="controls">
       <?= $this->inputText('page[titulo]', $this->escape($this->page->titulo), array('class' => 'input-xxlarge required')); ?>
    
  </div>
</div>

<div class="control-group">
  <label class="control-label" for="fileInput">Arquivo</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/transparencias/".$this->page->arquivo);?>" target="_blank">Ver atual</a>
     <? } ?>
     
     </span>
  </div>
</div>




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

