init
This commit is contained in:
16
KretaWeb/Helpers/EmptyExtensions.cs
Normal file
16
KretaWeb/Helpers/EmptyExtensions.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
using System.Text;
|
||||
using System.Web.Mvc;
|
||||
|
||||
namespace Kreta.Web.Helpers
|
||||
{
|
||||
public static class EmptyExtensions
|
||||
{
|
||||
public static MvcHtmlString KretaEmpty(this HtmlHelper helper, int width = 6)
|
||||
{
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.AppendFormat("<div class=\"searchInputRowHeight emptyRow {0} \"></div>", BootsrapHelper.GetSizeClasses(width));
|
||||
|
||||
return new MvcHtmlString(sb.ToString());
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user