Refactor AuthDialog to remove captcha handling and improve dialog display options
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
}
|
||||
else
|
||||
{
|
||||
<MudDialog>
|
||||
<MudDialog >
|
||||
<TitleContent>
|
||||
<MudText Typo="Typo.h4" Align="Align.Center">@GetDialogTitle()</MudText>
|
||||
</TitleContent>
|
||||
@@ -72,8 +72,8 @@ else
|
||||
HelperText="مثال: 09121234567"
|
||||
Class="mb-2" />
|
||||
|
||||
@if (EnableCaptcha)
|
||||
{
|
||||
@* @if (EnableCaptcha) *@
|
||||
@* { *@
|
||||
<MudStack Row="true" AlignItems="AlignItems.Center" Spacing="2" Class="mt-2 mb-2">
|
||||
<MudPaper Elevation="1" Class="captcha-box d-flex align-center justify-center" Style="min-width:100px;min-height:48px;">
|
||||
<MudText Typo="Typo.h5">@_captchaCode</MudText>
|
||||
@@ -85,7 +85,7 @@ else
|
||||
<MudTextField Label="کد کپچا" Placeholder="کد نمایش داده شده" Immediate="true"
|
||||
Variant="Variant.Outlined" @bind-Value="_captchaInput" Required="true"
|
||||
RequiredError="لطفاً کد کپچا را وارد کنید." />
|
||||
}
|
||||
@* } *@
|
||||
|
||||
<MudCheckBox T="bool"
|
||||
Label="شرایط و قوانین را میپذیرم"
|
||||
|
||||
Reference in New Issue
Block a user