mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-09-18 17:47:54 +08:00
Adding missing confirmations on Widgets
--HG-- branch : 1.x extra : rebase_source : 12501a236070056ed5733112fbc0860ec787562e
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
@using (Html.BeginFormAntiForgeryPost()) {
|
||||
<h3>@Html.ActionLink(HasText(widget.Title) ? widget.Title : widget.TypeDefinition.DisplayName, "EditWidget", new { @widget.Id, returnUrl })</h3>
|
||||
<div class="widgets-actions">
|
||||
<button name="moveOut" class="link" type="submit" value="1">@T("Remove")</button>
|
||||
<button name="moveOut" class="link" type="submit" value="1" itemprop="RemoveUrl">@T("Remove")</button>
|
||||
</div>
|
||||
@Html.Hidden("widgetId", widget.Id)
|
||||
@Html.Hidden("returnUrl", returnUrl)
|
||||
|
@@ -28,7 +28,7 @@
|
||||
<button name="moveHere" class="link" type="submit" value="1">@T("Move to current layer")</button>
|
||||
}
|
||||
else { /* it could be useful to remove the widget regardless of the layer it's on but there's no place in the current UI for this and "Move to current layer" */
|
||||
<button name="moveOut" class="link" type="submit" value="1">@T("Remove")</button>
|
||||
<button name="moveOut" class="link" type="submit" value="1" itemprop="RemoveUrl">@T("Remove")</button>
|
||||
}
|
||||
</div>
|
||||
<div class="widgets-move-somewhere">
|
||||
|
Reference in New Issue
Block a user