First tries on using tags
This commit is contained in:
		@@ -6,7 +6,12 @@
 | 
			
		||||
 | 
			
		||||
{% block additional_head %}
 | 
			
		||||
<link rel="stylesheet" href="{% static 'maps/ol.css' %}" type="text/css">
 | 
			
		||||
<link rel="stylesheet" href="{% static 'tagify.css' %}">
 | 
			
		||||
 | 
			
		||||
<script src="{% static 'maps/ol.js' %}"></script>
 | 
			
		||||
 | 
			
		||||
<script src="{% static 'tagify.min.js' %}"></script>
 | 
			
		||||
<link rel="stylesheet" href="{% static 'minimal.css' %}" type="text/css">
 | 
			
		||||
{% endblock additional_head %}
 | 
			
		||||
 | 
			
		||||
{% block title %}{{place.name}}{% endblock %}
 | 
			
		||||
@@ -52,6 +57,19 @@
 | 
			
		||||
		</div>
 | 
			
		||||
	</section>
 | 
			
		||||
 | 
			
		||||
	<section class="LP-Section">
 | 
			
		||||
		<input name='basic' value='tag1, tag2'>
 | 
			
		||||
		<script>
 | 
			
		||||
			// The DOM element you wish to replace with Tagify
 | 
			
		||||
			var input = document.querySelector('input[name=basic]');
 | 
			
		||||
 | 
			
		||||
			// initialize Tagify on the above input node reference
 | 
			
		||||
			new Tagify(input, {
 | 
			
		||||
				'whitelist': ['wurstwasser']
 | 
			
		||||
			})
 | 
			
		||||
		</script>
 | 
			
		||||
	</section>
 | 
			
		||||
 | 
			
		||||
	<section class="LP-Section">
 | 
			
		||||
		<h1 class="LP-Headline">Photoalben</h1>
 | 
			
		||||
		<div class="LP-LinkList">
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user