Fixed input alignment for variable page
This commit is contained in:
parent
07c09e48e3
commit
970bca7121
1 changed files with 17 additions and 15 deletions
|
@ -42,21 +42,23 @@
|
|||
<div class="form-text fs-5 mb-2 mt-0">
|
||||
@imageVariable.Description
|
||||
</div>
|
||||
@if (imageVariable.AllowUserToEdit)
|
||||
{
|
||||
<div class="input-group">
|
||||
<input @bind="variable.Value" type="text" class="form-control" placeholder="@(imageVariable.DefaultValue)"/>
|
||||
<WButton OnClick="() => UpdateVariable(variable)" CssClasses="btn btn-icon btn-primary">
|
||||
<i class="bx bx-sm bx-save"></i>
|
||||
</WButton>
|
||||
</div>
|
||||
}
|
||||
else
|
||||
{
|
||||
<div class="input-group">
|
||||
<input value="@variable.Value" type="text" class="form-control disabled" disabled=""/>
|
||||
</div>
|
||||
}
|
||||
<div class="mt-auto">
|
||||
@if (imageVariable.AllowUserToEdit)
|
||||
{
|
||||
<div class="input-group">
|
||||
<input @bind="variable.Value" type="text" class="form-control" placeholder="@(imageVariable.DefaultValue)"/>
|
||||
<WButton OnClick="() => UpdateVariable(variable)" CssClasses="btn btn-icon btn-primary">
|
||||
<i class="bx bx-sm bx-save"></i>
|
||||
</WButton>
|
||||
</div>
|
||||
}
|
||||
else
|
||||
{
|
||||
<div class="input-group">
|
||||
<input value="@variable.Value" type="text" class="form-control disabled" disabled=""/>
|
||||
</div>
|
||||
}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue