Last change
on this file since 6246 was
6246,
checked in by wtollsch, 14 years ago
|
#1433 AlgorithmClass, Algorithm, ProblemClass, Problem create/update appropriate controller/models/views, File upload (Algorithm / Problem)
|
File size:
1.6 KB
|
Rev | Line | |
---|
[6246] | 1 | <%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage" %>
|
---|
| 2 |
|
---|
| 3 | <%@ Import Namespace="HLWebOKBAdminPlugin.Models" %>
|
---|
| 4 | <%@ Import Namespace="HLWebOKBAdminPlugin.OKBAdministrationService" %>
|
---|
| 5 |
|
---|
| 6 | <asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
|
---|
| 7 | Detail
|
---|
| 8 | </asp:Content>
|
---|
| 9 | <asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
|
---|
| 10 | <% using(Html.BeginForm("SaveChanges", "ProblemClass")) %>
|
---|
| 11 | <% { %>
|
---|
| 12 | <h2>Detail</h2>
|
---|
| 13 |
|
---|
| 14 | <% ProblemClass pc = ((ProblemClassModel)Model).ProblemClass; %>
|
---|
| 15 | <table border="1">
|
---|
| 16 | <tr>
|
---|
| 17 | <td>
|
---|
| 18 | Id:
|
---|
| 19 | </td>
|
---|
| 20 | <td>
|
---|
| 21 | <%: Html.Label(pc.Id.ToString())%>
|
---|
| 22 | </td>
|
---|
| 23 | <%: Html.Hidden("ProblemClassId", pc.Id.ToString(), pc.Id.ToString())%>
|
---|
| 24 | </tr>
|
---|
| 25 | <tr>
|
---|
| 26 | <td>
|
---|
| 27 | Name:
|
---|
| 28 | </td>
|
---|
| 29 | <td>
|
---|
| 30 | <%: Html.TextBox("ProblemClassName", pc.Name, pc.Name)%>
|
---|
| 31 | </td>
|
---|
| 32 | </tr>
|
---|
| 33 | <tr>
|
---|
| 34 | <td>
|
---|
| 35 | Description:
|
---|
| 36 | </td>
|
---|
| 37 | <td>
|
---|
| 38 | <%: Html.TextBox("ProblemClassDescription", pc.Description, pc.Description)%>
|
---|
| 39 | </td>
|
---|
| 40 | </tr>
|
---|
| 41 | <tr>
|
---|
| 42 | <td>
|
---|
| 43 | Action:
|
---|
| 44 | </td>
|
---|
| 45 | <td>
|
---|
| 46 | <input type="submit" value="save" />
|
---|
| 47 | </td>
|
---|
| 48 | </tr>
|
---|
| 49 | </table>
|
---|
| 50 | <%: Html.ActionLink("back to Index","Index") %>
|
---|
| 51 | <% } %>
|
---|
| 52 | </asp:Content>
|
---|
Note: See
TracBrowser
for help on using the repository browser.