37 lines
1.2 KiB
HTML
Raw Normal View History

2025-10-02 21:17:36 +02:00
{% extends "base.html" %}
{% block title %}Edit Feed - RSS Feed Manager{% endblock %}
{% block content %}
<h1 style="margin-bottom: 20px; font-size: 32px; font-weight: normal;">Edit Feed</h1>
<div style="max-width: 600px; margin: 40px auto;">
<form method="post" action="/manage/edit/{{ feed.id }}">
<div class="form-group">
<label for="name">Name</label>
<input type="text" id="name" name="name" value="{{ feed.name }}" required>
</div>
<div class="form-group">
<label for="url">URL</label>
<input type="text" id="url" name="url" value="{{ feed.url }}" required>
</div>
<div class="form-group">
<label for="type">Type</label>
<input type="text" id="type" name="type" value="{{ feed.type }}" required>
</div>
<div class="form-group">
<label for="category">Category</label>
<input type="text" id="category" name="category" value="{{ feed.category }}" required>
</div>
<div style="margin-top: 30px;">
<button type="submit" class="btn btn-primary">Save Changes</button>
<a href="/manage" class="btn">Cancel</a>
</div>
</form>
</div>
{% endblock %}