15 lines
496 B
Plaintext
15 lines
496 B
Plaintext
@model SettingsViewModel
|
|
|
|
@using (Html.BeginForm("Settings", "Home", FormMethod.Post)) {
|
|
@Html.AntiForgeryToken()
|
|
|
|
<h2>Settings</h2>
|
|
|
|
<div class="mb-3">
|
|
@Html.LabelFor(m => m.VideoPath, new { @class = "form-label" })
|
|
@Html.TextBoxFor(m => m.VideoPath, new { @class = "form-control" })
|
|
@Html.ValidationMessageFor(m => m.VideoPath, "", new { @class = "text-danger" })
|
|
</div>
|
|
|
|
<button type="submit" class="btn btn-primary">Save Settings</button>
|
|
} |