convert form to bootstrap
This commit is contained in:
		
							parent
							
								
									07b12875a5
								
							
						
					
					
						commit
						e5f87cce90
					
				
					 1 changed files with 5 additions and 7 deletions
				
			
		|  | @ -1,17 +1,15 @@ | |||
| {% extends "reviews/base.html" %} | ||||
| 
 | ||||
| {% load uni_form_tags %} | ||||
| {% load bootstrap_tags %} | ||||
| 
 | ||||
| {% block body %} | ||||
| 
 | ||||
|     <h1>Bulk Accept</h1> | ||||
|     <form action="" method="POST" class="uniForm" accept-charset="utf-8"> | ||||
|         {% csrf_token %} | ||||
|         <fieldset> | ||||
|             {{ form|as_uni_form }} | ||||
|             <div class="form_block"> | ||||
|                 <input type="submit" name="submit" value="submit" /> | ||||
|             </div> | ||||
|         </fieldset> | ||||
|         {{ form|as_bootstrap }} | ||||
|         <div class="form-actions"> | ||||
|             <input class="btn btn-primary" type="submit" name="submit" value="submit" /> | ||||
|         </div> | ||||
|     </form> | ||||
| {% endblock %} | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Luke Hatcher
						Luke Hatcher