You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<aclass="btn btn-primary"href="@Url.Action("Edit", "Binding", new {b.Id})"><spanclass="glyphicon glyphicon-cloud-upload"></span> Editbinding</a>
10
+
<formmethod="post"action="@Url.Action("Delete", "Binding", new {b.Id})"style="display: inline;"><buttonclass="btn btn-danger"type="submit"onclick="return confirm('Are you sure you want to delete the binding for @b.Protocol://@b.HostName:@b.Port');"><spanclass="glyphicon glyphicon-remove"></span> Delete</button></form>
c.For(b=>newHtmlString(string.Format("<form method=\"post\" action=\"{0}\"><button class=\"btn btn-danger\" type=\"submit\" onclick=\"return confirm('Are you sure you want to delete the binding for {1}://{2}:{3}');\"><span class=\"glyphicon glyphicon-remove\"></span> Delete</button></form>", Url.Action("Delete", "Binding", new {b.Id}), b.Protocol, b.HostName, b.Port))).Named("Delete Binding");
0 commit comments