a guest Dec 3rd, 2019 88 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <div class="container pt-4">
  2.   <div class="row">
  3.     <div class="col-6 border">
  4.       <h3>Quotes</h3>
  5.       <form [formGroup]="userForm" (submit)="handleForm()">
  6.         <div class="form-group">
  7.             <label for="message">Message</label>
  8.             <textarea id="message" name="message" class="form-control" rows="3" formControlName="message" form="userForm"></textarea>
  9.         </div>
  10.         <div class="form-group">
  11.             <label for="author">Author</label>
  12.             <input id="author" type="text" name="author" class="form-control" placeholder="" formControlName="author" form="userForm">  
  13.         </div>
  14.         <div class="form-group">
  15.             <label for="book">Book</label>
  16.             <input id="book" type="text" name="book" class="form-control" placeholder="" formControlName="book" form="userForm">
  17.         </div>
  19.         <div class="form-group float-right">
  20.             <button type="submit" class="btn btn-white">Cancel</button>
  21.             <button type="submit" class="btn btn-primary" [disabled]="!userForm.valid" >Submit</button>
  22.         </div>
  23.       </form>
  24.     </div>
  25.   </div>
  26. </div>
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