summaryrefslogtreecommitdiff
path: root/src/marlin.web/Views/Agents/Create.cshtml
blob: e112eeb82044f88a84dab3c2d7f72ebed8b826e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
@using marlin.core.models

<form method="post" asp-action="Create">
    <dl>
        <dt>Name</dt>
        <dd><input type="text" name="@nameof(Agent.Name)" placeholder="myagent-1"/></dd>
        
        <dt>Max Concurrent Jobs</dt>
        <dd><input type="number" name="@nameof(Agent.MaxConcurrentJobs)" value="1"/></dd>
    </dl>
    <button type="submit">Create</button>
</form>

<a asp-action="List">Back</a>