mirror of
https://github.com/lidarr/Lidarr
synced 2024-12-26 01:27:00 +00:00
Disabled inputs don't get submitted... good to know.
This commit is contained in:
parent
a16defc5f0
commit
3ee5a3b1fc
1 changed files with 2 additions and 1 deletions
|
@ -35,7 +35,8 @@
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@Html.LabelFor(x => x.Url)
|
@Html.LabelFor(x => x.Url)
|
||||||
@Html.TextBoxFor(m => m.Url, new { disabled = "disabled" })
|
@Html.TextBox("DisabledIndexer", Model.Url, new { disabled = "disabled" })
|
||||||
|
@Html.HiddenFor(m => m.Url)
|
||||||
}
|
}
|
||||||
|
|
||||||
@Html.LabelFor(x => x.ApiKey)
|
@Html.LabelFor(x => x.ApiKey)
|
||||||
|
|
Loading…
Reference in a new issue