feat: basic initial implementation of spotify client link validator and song submission form refs: NOISSUE
This commit is contained in:
2
song_of_the_day/Pages/Shared/UpdateInputText.razor
Normal file
2
song_of_the_day/Pages/Shared/UpdateInputText.razor
Normal file
@@ -0,0 +1,2 @@
|
||||
@inherits Microsoft.AspNetCore.Components.Forms.InputText
|
||||
<input @attributes="@AdditionalAttributes" class="@CssClass" @bind="@CurrentValueAsString" @bind:event="oninput" />
|
@@ -43,6 +43,12 @@
|
||||
<a class="nav-link text-dark" asp-area="" asp-page="/UnclaimedPhoneNumbers">Unclaimed Phone Numbers</a>
|
||||
</li>
|
||||
}
|
||||
@if (this.User.Identity.IsAuthenticated && DoesUserHaveClaimedPhoneNumber())
|
||||
{
|
||||
<li class="nav-item">
|
||||
<a class="nav-link text-dark" asp-area="" asp-page="/SubmitSongs">Submit Songs</a>
|
||||
</li>
|
||||
}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
7
song_of_the_day/Pages/Shared/_SongPartial.cshtml
Normal file
7
song_of_the_day/Pages/Shared/_SongPartial.cshtml
Normal file
@@ -0,0 +1,7 @@
|
||||
@model Song
|
||||
<label asp-for="Name">Name:</label>
|
||||
<input asp-for="Name" />
|
||||
<label asp-for="Artist">Artist:</label>
|
||||
<input asp-for="Artist" />
|
||||
<label asp-for="SpotifyId">Spotify ID:</label>
|
||||
<input asp-for="SpotifyId" />
|
Reference in New Issue
Block a user