SHARE
TWEET

Untitled

a guest Sep 19th, 2015 73 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.          <form class="form-inline" ng-controller="FormController" ng-submit="submitForm()" role="form" method="post">
  2.  
  3.                             <input type="text" class="form-control" id="id_veiculo" ng-model="id_veiculo" value="">  <!-- Esta input sóo funciona quando digito manualmente o valor, ela recebe por jquery mas na hora se enviar ela se torna vazia ou nula -->
  4.                             <div class="form-group">
  5.                                 <label class="sr-only">Itens Opcionais:</label>
  6.  
  7.                                 <?php
  8.                                 echo ' <select ng-model="id_opcional">';
  9.  
  10.                                 foreach ($opcionais_encontrados as $o):
  11.                                     echo '<option value="' . $o->id . '">' . $o->opcional . '</option>';
  12.                                 endforeach;
  13.                                 echo '</select>';
  14.                                 ?>
  15.                             </div>
  16.  
  17.                             <button type="submit" class="btn btn-default btn-primary">Submit Record</button>
  18.                             <pre style="display:none;">{{ message}}</pre>
  19.                         </form>
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