feat: add base for js-ification of add adoption form
This commit is contained in:
@@ -0,0 +1 @@
|
||||
console.log("Search script loaded");
|
@@ -20,6 +20,7 @@
|
||||
<script src="{% static 'fellchensammlung/js/toggles.js' %}"></script>
|
||||
<script src="{% static 'fellchensammlung/js/jquery.min.js' %}"></script>
|
||||
<script type="module" src="{% static 'fellchensammlung/js/photoswipe.js' %}"></script>
|
||||
{% block additional_scrips %}{% endblock %}
|
||||
|
||||
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="{% static 'fellchensammlung/favicon/apple-touch-icon.png' %}">
|
||||
|
@@ -2,13 +2,18 @@
|
||||
{% load i18n %}
|
||||
{% load crispy_forms_tags %}
|
||||
{% load widget_tweaks %}
|
||||
{% load static %}
|
||||
|
||||
{% block title %}<title>{% translate "Vermittlung hinzufügen" %}</title>{% endblock %}
|
||||
|
||||
{% block additional_scrips %}
|
||||
<script src="{% static 'fellchensammlung/js/adoption-notice-form.js' %}"></script>
|
||||
{% endblock %}
|
||||
|
||||
|
||||
{% block content %}
|
||||
<h1>{% translate "Vermitteln" %}</h1>
|
||||
<div class="notification">
|
||||
<button class="delete"></button>
|
||||
<div class="notification is-info">
|
||||
<p>
|
||||
{% url 'terms-of-service' as rules_url %}
|
||||
{% trans "Regeln" as rules_text %}
|
||||
@@ -20,6 +25,8 @@
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div id="add-adoption-notice-form">
|
||||
|
||||
<form method="post" enctype="multipart/form-data">
|
||||
{% csrf_token %}
|
||||
|
||||
@@ -74,8 +81,7 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="notification">
|
||||
<button class="delete"></button>
|
||||
<div class="notification is-info">
|
||||
<p>
|
||||
|
||||
{% blocktranslate %}
|
||||
@@ -128,4 +134,5 @@
|
||||
|
||||
<input class="button is-primary" type="submit" value="{% translate "Speichern" %}">
|
||||
</form>
|
||||
</div>
|
||||
{% endblock %}
|
@@ -1,7 +1,10 @@
|
||||
{% extends "fellchensammlung/base.html" %}
|
||||
{% load i18n %}
|
||||
|
||||
{% block title %}<title>{% translate "Suche" %}</title>{% endblock %}
|
||||
{% block title %}
|
||||
<title>{% translate "Suche" %}</title>
|
||||
{% endblock %}
|
||||
|
||||
|
||||
{% block content %}
|
||||
{% get_current_language as LANGUAGE_CODE_CURRENT %}
|
||||
|
Reference in New Issue
Block a user