source: KernelRecordsMVC.Web/Views/Admin/CreateArtist.cshtml

main
Last change on this file was d89d25b, checked in by mmilevski <markomilevski3@…>, 4 weeks ago

Added few implementaions, minor UI changes.

  • Property mode set to 100644
File size: 2.3 KB
RevLine 
[d89d25b]1@model KernelRecordsMVC.Application.ViewModels.CreateArtistViewModel
2
3@{
4 ViewData["Title"] = "Create Artist";
5}
6
7<div class="admin-page admin-form-page">
8
9 <div class="admin-header">
10
11 <div>
12
13 <a asp-action="Artists"
14 class="admin-back-link">
15 ← Artists
16 </a>
17
18 <span class="admin-eyebrow">
19 CATALOG MANAGEMENT
20 </span>
21
22 <h1>Create Artist</h1>
23
24 <p>
25 Add a new artist to the catalog.
26 </p>
27
28 </div>
29
30 </div>
31
32
33 <form asp-action="CreateArtist"
34 method="post">
35
36 @Html.AntiForgeryToken()
37
38 <div asp-validation-summary="ModelOnly"
39 class="admin-validation">
40 </div>
41
42
43 <section class="admin-form-card">
44
45 <div class="admin-form-field">
46
47 <label asp-for="ArtistName"></label>
48
49 <input asp-for="ArtistName"
50 placeholder="Artist name" />
51
52 <span asp-validation-for="ArtistName"
53 class="admin-field-error">
54 </span>
55
56 </div>
57
58
59 <div class="admin-form-field">
60
61 <label asp-for="ArtistDescription"></label>
62
63 <textarea asp-for="ArtistDescription"
64 rows="6"
65 placeholder="Artist biography or description">
66 </textarea>
67
68 <span asp-validation-for="ArtistDescription"
69 class="admin-field-error">
70 </span>
71
72 </div>
73
74
75 <div class="admin-form-field">
76
77 <label asp-for="ArtistPhoto"></label>
78
79 <input asp-for="ArtistPhoto"
80 placeholder="https://..." />
81
82 <span asp-validation-for="ArtistPhoto"
83 class="admin-field-error">
84 </span>
85
86 </div>
87
88
89 <div class="admin-form-actions">
90
91 <a asp-action="Artists"
92 class="admin-button secondary">
93 Cancel
94 </a>
95
96 <button type="submit"
97 class="admin-button primary">
98 Create Artist
99 </button>
100
101 </div>
102
103 </section>
104
105 </form>
106
107</div>
Note: See TracBrowser for help on using the repository browser.