Skip to content

Instantly share code, notes, and snippets.

@netojoa
Last active July 4, 2018 12:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save netojoa/434dfc404ce88263424e41405f64aa4a to your computer and use it in GitHub Desktop.
Save netojoa/434dfc404ce88263424e41405f64aa4a to your computer and use it in GitHub Desktop.
using Sitecore.Mvc.Helpers;
namespace Stockpick.Forms.Feature.ExperienceForms.Extensions
{
public static class HtmlHelperExtensions
{
public static bool IsExperienceForms(this SitecoreHelper helper)
{
return Sitecore.Context.Request.QueryString["sc_formmode"] != null;
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment