fix: move templates to root directory for Flask discovery
This commit is contained in:
@@ -1,20 +0,0 @@
|
||||
{% extends "base.html" %}
|
||||
{% block content %}
|
||||
<h2>{% if company %}Firma bearbeiten{% else %}Neue Firma{% endif %}</h2>
|
||||
<form method="post">
|
||||
<label>Name *</label>
|
||||
<input type="text" name="name" value="{{ company.name if company else '' }}" required>
|
||||
<label>Adresse</label>
|
||||
<input type="text" name="address" value="{{ company.address if company else '' }}">
|
||||
<label>Telefon</label>
|
||||
<input type="text" name="phone" value="{{ company.phone if company else '' }}">
|
||||
<label>Email</label>
|
||||
<input type="email" name="email" value="{{ company.email if company else '' }}">
|
||||
<label>Website</label>
|
||||
<input type="text" name="website" value="{{ company.website if company else '' }}">
|
||||
<label>Notizen</label>
|
||||
<textarea name="notes">{{ company.notes if company else '' }}</textarea>
|
||||
<button type="submit" class="btn btn-primary">Speichern</button>
|
||||
<a href="{{ url_for('dashboard') }}" class="btn btn-secondary">Abbrechen</a>
|
||||
</form>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user