The next generation of the Teknik Services. Written in ASP.NET. https://www.teknik.io/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

_ScopeListItem.cshtml 939B

12345678910111213141516171819202122232425262728293031323334
  1. @model ScopeViewModel
  2. <li class="list-group-item abc-checkbox">
  3. @if (Model.Required)
  4. {
  5. <input type="hidden"
  6. name="ScopesConsented"
  7. value="@Model.Name" />
  8. }
  9. <input class="consent-scopecheck"
  10. type="checkbox"
  11. name="ScopesConsented"
  12. id="scopes_@Model.Name"
  13. value="@Model.Name"
  14. checked="@Model.Checked"
  15. disabled="@Model.Required" />
  16. <label for="ScopesConsented">
  17. <strong>@Model.DisplayName</strong>
  18. @if (Model.Emphasize)
  19. {
  20. <span class="glyphicon glyphicon-exclamation-sign"></span>
  21. }
  22. @if (Model.Required)
  23. {
  24. <span><em>(required)</em></span>
  25. }
  26. </label>
  27. @if (Model.Description != null)
  28. {
  29. <div class="consent-description">
  30. <label for="scopes_@Model.Name">@Model.Description</label>
  31. </div>
  32. }
  33. </li>