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.
35 lines
985 B
35 lines
985 B
@using IdentitySvc.Pages.Device
|
|
@model ScopeViewModel
|
|
|
|
<li class="list-group-item">
|
|
<label>
|
|
<input class="consent-scopecheck"
|
|
type="checkbox"
|
|
name="Input.ScopesConsented"
|
|
id="scopes_@Model.Value"
|
|
value="@Model.Value"
|
|
checked="@Model.Checked"
|
|
disabled="@Model.Required" />
|
|
@if (Model.Required)
|
|
{
|
|
<input type="hidden"
|
|
name="Input.ScopesConsented"
|
|
value="@Model.Value" />
|
|
}
|
|
<strong>@Model.DisplayName</strong>
|
|
@if (Model.Emphasize)
|
|
{
|
|
<span class="glyphicon glyphicon-exclamation-sign"></span>
|
|
}
|
|
</label>
|
|
@if (Model.Required)
|
|
{
|
|
<span><em>(required)</em></span>
|
|
}
|
|
@if (Model.Description != null)
|
|
{
|
|
<div class="consent-description">
|
|
<label for="scopes_@Model.Value">@Model.Description</label>
|
|
</div>
|
|
}
|
|
</li> |