@model ICollection<MvcApplication1.Models.ExternalLogin> @if (Model.Count > 0) { <h3>Registered external logins</h3> <table> <tbody> @foreach (MvcApplication1.Models.ExternalLogin externalLogin in Model) { <tr> <td>@externalLogin.ProviderDisplayName</td> <td> @if (ViewBag.ShowRemoveButton) { using (Html.BeginForm("Disassociate", "Account")) { @Html.AntiForgeryToken() <fieldset> @Html.Hidden("provider", externalLogin.Provider) @Html.Hidden("providerUserId", externalLogin.ProviderUserId) <input type="submit" value="Remove" title="Remove this @externalLogin.ProviderDisplayName credential from your account" /> </fieldset> } } else { @: } </td> </tr> } </tbody> </table> }
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.
This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)