14 lines
746 B
Plaintext
14 lines
746 B
Plaintext
<%@ Page Title="" Language="C#" Inherits="System.Web.Mvc.ViewPage<VideoGameQuotes.Web.Models.PagedModelWithUser<VideoGameQuotes.Api.Quote>>" MasterPageFile="~/Views/Shared/Site.Master" %>
|
|
<%@ Import Namespace="Portoa.Web.Models" %>
|
|
<%@ Import Namespace="VideoGameQuotes.Web.Models" %>
|
|
<asp:Content runat="server" ID="Title" ContentPlaceHolderID="TitleContent">Best</asp:Content>
|
|
<asp:Content runat="server" ID="Main" ContentPlaceHolderID="MainContent">
|
|
|
|
<% Html.RenderPartial("PagingMenu", new PagingMenuModel(Model) { Action = "best", Controller = "quote" }); %>
|
|
|
|
<%
|
|
foreach (var quote in Model.Records) {
|
|
Html.RenderPartial("SingleQuote", new QuoteModel { Quote = quote, User = Model.CurrentUser });
|
|
}
|
|
%>
|
|
</asp:Content> |