mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-10-31 13:15:43 +00:00 
			
		
		
		
	Added a form that only contains csrf tags
- e.g. blank form only required to validate POST data
This commit is contained in:
		| @@ -56,6 +56,7 @@ | ||||
|  | ||||
| .modal { | ||||
|   overflow: hidden; | ||||
|   z-index: 99999999; | ||||
| } | ||||
|  | ||||
| .modal-content h3 { | ||||
| @@ -89,4 +90,19 @@ | ||||
|  | ||||
| .help-inline { | ||||
|     color: #A11; | ||||
| } | ||||
|  | ||||
| .notification-area { | ||||
|     position: fixed; | ||||
|     z-index: 999999; | ||||
|     top: 0px; | ||||
|     margin-top: 20px; | ||||
|     width: 100%; | ||||
|     padding: 20px; | ||||
| } | ||||
|  | ||||
| .alert { | ||||
|     display: none; | ||||
|     border-radius: 5px; | ||||
|     opacity: 0.9; | ||||
| } | ||||
							
								
								
									
										3
									
								
								InvenTree/templates/modal_csrf.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								InvenTree/templates/modal_csrf.html
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,3 @@ | ||||
| <form method="post" action='' class='js-modal-form'> | ||||
|   {% csrf_token %} | ||||
| </form> | ||||
		Reference in New Issue
	
	Block a user