24 lines
833 B
Plaintext
24 lines
833 B
Plaintext
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title><%= title %></title>
|
|
</head>
|
|
<body>
|
|
<h1><%= title %></h1>
|
|
<form action="/admin/channels/<%= channel.id %>?_method=PUT" method="POST">
|
|
<label for="name">Channel Name:</label>
|
|
<input type="text" id="name" name="name" value="<%= channel.name %>" required>
|
|
<br>
|
|
<label for="channel_handle">Channel Handle:</label>
|
|
<input type="text" id="channel_handle" name="channel_handle" value="<%= channel.channel_handle %>" required>
|
|
<br>
|
|
<label for="youtube_id">YouTube ID:</label>
|
|
<input type="text" id="youtube_id" name="youtube_id" value="<%= channel.youtube_id %>" required>
|
|
<br>
|
|
<button type="submit">Update Channel</button>
|
|
</form>
|
|
</body>
|
|
</html>
|