Password boxes will now keep value from Database instead of wiping out saved values when saved with empty fields.

pull/4/head
Mark McDowall 13 years ago
parent 8267be0a48
commit 71c5653b91

@ -29,5 +29,5 @@
<label class="labelClass">@Html.LabelFor(m => m.GrowlPassword)
<span class="small">@Html.DescriptionFor(m => m.GrowlPassword)</span>
</label>
@Html.PasswordFor(m => m.GrowlPassword, new { @class = "inputClass" })
@Html.TextBoxFor(m => m.GrowlPassword, new { @class = "inputClass", type = "password" })
</div>

@ -81,7 +81,7 @@
<label class="labelClass">@Html.LabelFor(m => m.NewzbinPassword)
<span class="small">@Html.DescriptionFor(m => m.NewzbinPassword)</span>
</label>
@Html.PasswordFor(m => m.NewzbinPassword, new { @class = "inputClass" })
@Html.TextBoxFor(m => m.NewzbinPassword, new { @class = "inputClass", type = "password" })
</div>
<h3>
<a href="#">Newznab</a></h3>

@ -37,7 +37,7 @@
<label class="labelClass">@Html.LabelFor(m => m.SabPassword)
<span class="small">@Html.DescriptionFor(m => m.SabPassword)</span>
</label>
@Html.PasswordFor(m => m.SabPassword, new { @class = "inputClass" })
@Html.TextBoxFor(m => m.SabPassword, new { @class = "inputClass", type = "password" })
<label class="labelClass">@Html.LabelFor(m => m.SabTvCategory)
<span class="small">@Html.DescriptionFor(m => m.SabTvCategory)</span>

@ -44,7 +44,7 @@
<label class="labelClass">@Html.LabelFor(m => m.SmtpPassword)
<span class="small">@Html.DescriptionFor(m => m.SmtpPassword)</span>
</label>
@Html.PasswordFor(m => m.SmtpPassword, new { @class = "inputClass" })
@Html.TextBoxFor(m => m.SmtpPassword, new { @class = "inputClass", type = "password" })
<label class="labelClass">@Html.LabelFor(m => m.SmtpFromAddress)
<span class="small">@Html.DescriptionFor(m => m.SmtpFromAddress)</span>

@ -44,5 +44,5 @@
<label class="labelClass">@Html.LabelFor(m => m.XbmcPassword)
<span class="small">@Html.DescriptionFor(m => m.XbmcPassword)</span>
</label>
@Html.PasswordFor(m => m.XbmcPassword, new { @class = "inputClass" })
@Html.TextBoxFor(m => m.XbmcPassword, new { @class = "inputClass", type = "password" })
</div>
Loading…
Cancel
Save