summaryrefslogtreecommitdiff
path: root/src/marlin.web/Views/VCS/CreateSecret.cshtml
diff options
context:
space:
mode:
Diffstat (limited to 'src/marlin.web/Views/VCS/CreateSecret.cshtml')
-rw-r--r--src/marlin.web/Views/VCS/CreateSecret.cshtml12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/marlin.web/Views/VCS/CreateSecret.cshtml b/src/marlin.web/Views/VCS/CreateSecret.cshtml
new file mode 100644
index 0000000..6453056
--- /dev/null
+++ b/src/marlin.web/Views/VCS/CreateSecret.cshtml
@@ -0,0 +1,12 @@
+@using marlin.core.models
+@model VersionControlSource
+
+<form method="post" asp-action="CreateSecret" asp-route-sourceId="@Model.Id">
+ Label: <input type="text" name="Label"/><br/>
+ Kind: <input type="text" name="Kind"/><br/>
+ May Reveal: <input type="checkbox" name="MayReveal" value="true"/><br/>
+ Content (JSON): <textarea name="ContentJson">{}</textarea><br/>
+ <button type="submit">Create</button>
+</form>
+
+<a asp-action="ListSecret" asp-route-sourceId="@Model.Id">Back</a>