PageRenderTime 23ms CodeModel.GetById 17ms app.highlight 1ms RepoModel.GetById 2ms app.codeStats 0ms

/src/MM.Web/Views/Index/Delete.aspx

#
ASP.NET | 40 lines | 27 code | 13 blank | 0 comment | 0 complexity | 6bb051dc06316e8d6220240a86ee0071 MD5 | raw file
 1<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<MM.Domain.Movie>" %>
 2
 3<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
 4	Eliminar
 5</asp:Content>
 6
 7<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
 8
 9    <h2>Eliminar</h2>
10
11    <h3>Confirma esta eliminaciĆ³n?</h3>
12    <fieldset>
13        <legend>Fields</legend>
14        
15        <div class="display-label">Name</div>
16        <div class="display-field"><%= Html.Encode(Model.Name) %></div>
17        
18        <div class="display-label">Genre</div>
19        <div class="display-field"><%= Html.Encode(Model.Categoria.Nombre) %></div>
20        
21        <div class="display-label">Synopsis</div>
22        <div class="display-field"><%= Html.Encode(Model.Synopsis) %></div>
23        
24        <div class="display-label">Year</div>
25        <div class="display-field"><%= Html.Encode(String.Format("{0:g}", Model.Year)) %></div>
26        
27        <div class="display-label">Id</div>
28        <div class="display-field"><%= Html.Encode(Model.Id) %></div>
29       
30        
31    </fieldset>
32    <% using (Html.BeginForm()) { %>
33        <p>
34		    <input type="submit" value="Eliminar" /> |
35		    <%= Html.ActionLink("Regresar", "Index") %>
36        </p>
37    <% } %>
38
39</asp:Content>
40