2024-12-27 12:00:54 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="ja">
|
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
|
<link rel="stylesheet" href="/css/hyAdmin/common.css">
|
|
|
|
</head>
|
|
|
|
<%- include("../partials/head") %>
|
|
|
|
<body>
|
2025-01-03 12:46:33 +00:00
|
|
|
<%- include("../partials/admin/header") %>
|
2024-12-27 12:00:54 +00:00
|
|
|
<div class="header-spacer"></div>
|
|
|
|
<div class="main-content">
|
|
|
|
<h1>チャンネルを編集</h1>
|
|
|
|
<form action="/hyAdmin/channel/<%= channel.id %>?_method=PUT" method="POST" class="admin-form">
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="name">チャンネル名:</label>
|
|
|
|
<input type="text" id="name" name="name" value="<%= channel.name %>" required>
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="channel_handle">チャンネルハンドル:</label>
|
|
|
|
<input type="text" id="channel_handle" name="channel_handle" value="<%= channel.channel_handle %>">
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="youtube_id">YouTube ID:</label>
|
|
|
|
<input type="text" id="youtube_id" name="youtube_id" value="<%= channel.youtube_id %>" required>
|
|
|
|
</div>
|
|
|
|
<div class="form-actions">
|
|
|
|
<button type="submit" class="btn btn-update">チャンネルを更新</button>
|
|
|
|
<a href="/hyAdmin/channel" class="btn btn-back">戻る</a>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</body>
|
|
|
|
</html>
|