26 lines
919 B
HTML
26 lines
919 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>Edit {{podcast.title}}</title>
|
|
</head>
|
|
<body>
|
|
<form method="post">
|
|
<table border="0">
|
|
<tr><td>Title</td><td><input type="text" name="title" value="{{podcast.title}}"></td></tr>
|
|
<tr><td>Logo URL</td><td><input type="text" name="logo_url" value="{{podcast.logo_url.as_ref().unwrap_or(String::new())}}"></td></tr>
|
|
<tr><td>Homepage</td><td><input type="text" name="homepage" value="{{podcast.homepage}}"></td></tr>
|
|
<tr><td colspan="2"><button type="submit">Save</button></td></tr>
|
|
<tr><td>Episodes</td><td><a href="./new">Add</a></td></tr>
|
|
<tr><td colspan="2">
|
|
<table border="0">
|
|
{%- for episode in podcast.episodes %}
|
|
<tr><td>{{episode.title}}</td><td>{{episode.guid}}</td><td>{{episode.pub_date}}</td><td><a href="./edit/{{loop.index}}"></a></td></tr>
|
|
{%- endfor %}
|
|
</table>
|
|
</td></tr>
|
|
</table>
|
|
</form>
|
|
</body>
|
|
</html>
|