Added Modelform for place creation. Shabbily templated / not designed.
This commit is contained in:
		
							
								
								
									
										15
									
								
								lostplaces/lostplaces_app/templates/create_place.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								lostplaces/lostplaces_app/templates/create_place.html
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,15 @@
 | 
			
		||||
{% extends 'global.html'%}
 | 
			
		||||
{% load static %}
 | 
			
		||||
 | 
			
		||||
# {% block title %}Place erstellen{% endblock %}
 | 
			
		||||
 | 
			
		||||
{% block maincontent %}
 | 
			
		||||
 | 
			
		||||
<h2>Place erstellen</h2>
 | 
			
		||||
<form method="post">
 | 
			
		||||
  {% csrf_token %}
 | 
			
		||||
  {{ form.as_p }}
 | 
			
		||||
  <button type="submit">Abschicken</button>
 | 
			
		||||
</form>
 | 
			
		||||
 | 
			
		||||
{% endblock maincontent %}
 | 
			
		||||
		Reference in New Issue
	
	Block a user