1
0
mirror of https://github.com/chylex/Minecraft-Phantom-Panel.git synced 2025-08-21 06:54:07 +02:00
Files
.config
.run
.workdir
Agent
Common
Docker
Server
Phantom.Server
Phantom.Server.Database
Phantom.Server.Database.Postgres
Phantom.Server.Rpc
Phantom.Server.Services
Phantom.Server.Web
Phantom.Server.Web.Bootstrap
Phantom.Server.Web.Components
Forms
Base
Fields
FormButtonSubmit.cs
FormLabel.razor
FormNumberInput.razor
FormNumberInputType.cs
FormSelectInput.razor
FormTextInput.razor
Graphics
Utils
Phantom.Server.Web.Components.csproj
_Imports.razor
Utils
.gitattributes
.gitignore
AddMigration.bat
AddMigration.sh
PhantomPanel.sln
global.json

20 lines
386 B
Plaintext

@if (Label != null) {
<label for="@Id" class="form-label">@Label</label>
}
else if (LabelFragment != null) {
<label for="@Id" class="form-label">@LabelFragment</label>
}
@code {
[Parameter, EditorRequired]
public string Id { get; set; } = null!;
[Parameter]
public string? Label { get; set; }
[Parameter]
public RenderFragment? LabelFragment { get; set; }
}