summaryrefslogtreecommitdiff
path: root/src/marlin.web/Views/VCS/CreateSecret.cshtml
blob: 645305601322b3c5b00ec324b8a74d45e112c7b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
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>