mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-04-05 21:01:35 +08:00
#19249: Fixing disabled rules when they are edited
Work Item: 19249 --HG-- branch : 1.x
This commit is contained in:
parent
d945a8eaf1
commit
417d394435
@ -100,6 +100,9 @@
|
||||
@if (!Model.Enabled) {
|
||||
<button class="primaryAction" type="submit" name="submit.SaveAndEnable" value="submit.SaveAndEnable" >@T("Save and Enable")</button>
|
||||
}
|
||||
else {
|
||||
@Html.HiddenFor(m => m.Enabled)
|
||||
}
|
||||
</fieldset>
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user