Free cookie consent management tool by TermsFeed Policy Generator

source: branches/OaaS/HeuristicLab.Services.Optimization.Web/Views/Order/ContactInformation.cshtml @ 12055

Last change on this file since 12055 was 9654, checked in by spimming, 11 years ago

#1888:

  • Added model and view for contact information
  • Insert contact information on SaveOrder page
  • Set correct entity state
File size: 1.6 KB
Line 
1@model HeuristicLab.Services.Optimization.Web.Models.ContactInformationModel
2@using HeuristicLab.Services.Optimization.Web.Helpers
3@{
4  ViewBag.Title = "ContactInformation";
5}
6<h2>
7  Enter Payment Information</h2>
8@using (Html.BeginForm("SaveContactInformation", "Order")) {
9   
10  <div class="editor-label">
11    @Html.LabelFor(m => m.FirstName)
12  </div>
13  <div class="editor-field">
14    @Html.EditorFor(m => m.FirstName)
15  </div>
16
17  <div class="editor-label">
18    @Html.LabelFor(m => m.LastName)
19  </div>
20  <div class="editor-field">
21    @Html.EditorFor(m => m.LastName)
22  </div>
23 
24  <div class="editor-label">
25    @Html.LabelFor(m => m.Email)
26  </div>
27  <div class="editor-field">
28    @Html.EditorFor(m => m.Email)
29  </div>
30   
31  <div class="editor-label">
32    @Html.LabelFor(m => m.OrganizationName)
33  </div>
34  <div class="editor-field">
35    @Html.EditorFor(m => m.OrganizationName)
36  </div>
37 
38  <div class="editor-label">
39    @Html.LabelFor(m => m.Street)
40  </div>
41  <div class="editor-field">
42    @Html.EditorFor(m => m.Street)
43  </div>
44 
45  <div class="editor-label">
46    @Html.LabelFor(m => m.PostalCode)
47  </div>
48  <div class="editor-field">
49    @Html.EditorFor(m => m.PostalCode)
50  </div>
51 
52    <div class="editor-label">
53    @Html.LabelFor(m => m.City)
54  </div>
55  <div class="editor-field">
56    @Html.EditorFor(m => m.City)
57  </div>
58
59  <div class="editor-label">
60    @Html.LabelFor(m => m.State)
61  </div>
62  <div class="editor-field">
63    @Html.EditorFor(m => m.State)
64  </div>
65  <p>
66    <input type="submit" value="Save payment information" />
67  </p>
68}
Note: See TracBrowser for help on using the repository browser.