Skip to content

Instantly share code, notes, and snippets.

@netojoa
Last active July 4, 2018 12:48
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/920c9853e8798f7ce39e0c5e0e85554d to your computer and use it in GitHub Desktop.
Save netojoa/920c9853e8798f7ce39e0c5e0e85554d to your computer and use it in GitHub Desktop.
@model Stockpick.Forms.Feature.ExperienceForms.Model.Content.HiddenViewModel
@if (!Html.Sitecore().IsExperienceForms())
{
<input type="hidden" value="@Model.Value" />
}
else
{
<div class="form-group">
<p class="form-control">
Hidden Input
</p>
</div>
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment