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">
|
<div class="form-text fs-5 mb-2 mt-0">
|
||||||
@imageVariable.Description
|
@imageVariable.Description
|
||||||
</div>
|
</div>
|
||||||
@if (imageVariable.AllowUserToEdit)
|
<div class="mt-auto">
|
||||||
{
|
@if (imageVariable.AllowUserToEdit)
|
||||||
<div class="input-group">
|
{
|
||||||
<input @bind="variable.Value" type="text" class="form-control" placeholder="@(imageVariable.DefaultValue)"/>
|
<div class="input-group">
|
||||||
<WButton OnClick="() => UpdateVariable(variable)" CssClasses="btn btn-icon btn-primary">
|
<input @bind="variable.Value" type="text" class="form-control" placeholder="@(imageVariable.DefaultValue)"/>
|
||||||
<i class="bx bx-sm bx-save"></i>
|
<WButton OnClick="() => UpdateVariable(variable)" CssClasses="btn btn-icon btn-primary">
|
||||||
</WButton>
|
<i class="bx bx-sm bx-save"></i>
|
||||||
</div>
|
</WButton>
|
||||||
}
|
</div>
|
||||||
else
|
}
|
||||||
{
|
else
|
||||||
<div class="input-group">
|
{
|
||||||
<input value="@variable.Value" type="text" class="form-control disabled" disabled=""/>
|
<div class="input-group">
|
||||||
</div>
|
<input value="@variable.Value" type="text" class="form-control disabled" disabled=""/>
|
||||||
}
|
</div>
|
||||||
|
}
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue