【发布时间】:2018-11-28 19:34:56
【问题描述】:
我需要发帖注销,所以我需要一个“输入类型”。
如何更改此输入以便我可以使用 FontAwasone 类
我已经尝试使用按钮标签,但它在“a”标签内不起作用。
<div class="sidebar-footer">
<a href="#">
<i class="fa fa-envelope"></i>
<span class="badge badge-pill badge-success notification">7</span>
</a>
<a>
@using (Html.BeginForm("LogOff", "Account", FormMethod.Post, new { role = "form" }))
{
@Html.AntiForgeryToken()
<input type="submit" value="Logout" class="btn btn-primary" />
}
</a>
//Need to use that Awesome Class
<a href="#">
<i class="fa fa-power-off"></i>
</a>
</div>
【问题讨论】:
标签: c# asp.net-mvc visual-studio font-awesome