mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +08:00
Improved export UI.
When recipe builder steps provide no UI, no need for rendering a controlled subsection (which would cause a slight glitch when checking the step checkbox by expanding the div a few pixels).
This commit is contained in:
@@ -16,9 +16,11 @@
|
||||
<label for="@stepId" class="forcheckbox">@exportStep.DisplayName</label>
|
||||
</legend>
|
||||
@Html.Hint(@exportStep.Description)
|
||||
<div data-controllerid="@stepId">
|
||||
@Display(exportStep.Editor)
|
||||
</div>
|
||||
@if (exportStep.Editor != null) {
|
||||
<div data-controllerid="@stepId">
|
||||
@Display(exportStep.Editor)
|
||||
</div>
|
||||
}
|
||||
</fieldset>
|
||||
exportStepIndex++;
|
||||
if (exportStepIndex < Model.Steps.Count) {
|
||||
|
||||
Reference in New Issue
Block a user