Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @model SitefinityWebApp.Mvc.Models.YesNoFieldModel
- @using Telerik.Sitefinity.Frontend.Mvc.Helpers;
- @using Telerik.Sitefinity.Modules.Pages;
- <div>
- <div data-sf-role="yes-no-field-container">
- <label>@Model.MetaField.Title</label>
- <input type="radio" name="@Model.MetaField.FieldName" value="@Model.YesTitle" @((Model.Value == Model.YesTitle) ? "checked" : "") data-sf-role="yes-no-field-input">@Model.YesTitle</input>
- <input type="radio" name="@Model.MetaField.FieldName" value="@Model.NoTitle" @((Model.Value == Model.NoTitle) ? "checked" : "") data-sf-role="yes-no-field-input">@Model.NoTitle</input>
- </div>
- <p>@Model.MetaField.Description</p>
- </div>
- @Html.Script(ScriptRef.JQuery, "top", false)
- @Html.Script(Url.WidgetContent("Mvc/Views/YesNoField/scripts/yesno-field.js"), "bottom", false)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement