<?php
  $modulo = 'noticias';
?>
<div class="row-fluid">
  <div class="span12 btn-inverse div-top-borded">
    Editar Notícia
    <a href="<?=$this->linkTo($modulo, "list", array());?>" class="btn btn-small btn-info">&laquo; Voltar</a>
    <a href="<?=$this->linkTo($modulo, "new", array());?>" class="btn btn-small btn-primary">Novo »</a>

  </div>
</div>
<div class="row-fluid box">
  <form class="span12 well pampa_form" action="<?=$this->linkTo($modulo, "update");?>" method="post" enctype="multipart/form-data">

    <?php

    $params = array(
      'page' => $this->page,
    );
    echo $this->partial($modulo."/_form.phtml", $params);

    ?>

    <div class="form-actions">
      <input class="btn" type="button" value="Cancelar" onclick="window.location.href = $.baseURL('<?=$this->linkTo($modulo, "list");?>');" />
      <button type="submit" class="btn btn-primary">Enviar</button>
    </div>
  </form>
</div>

