Subversion Repository Public Repository

ChrisCompleteCodeTrunk

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
@using ActionTireCo.Crm.Model.View
@model AppointmentModel

@using (Html.BeginForm("Add", "Appointment", FormMethod.Post))
{
    <div class="row">
        <div class="col-3">
            @Html.TextBoxFor(
                     m => m.AppointmentDate,
                     new
                     {
                         @type = "text",
                         @class = "form-control",
                         @required = true,
                         @Value = DateTime.Now.ToString("MM/dd/yyyy")
                     }
                 )
        </div>
        <div class="col-3">
            @Html.TextBoxFor(
                     m => m.StartTime,
                     new
                     {
                         @type = "text",
                         @class = "form-control",
                         @required = true,
                         @Value = "9:00 AM"
                     }
                 )
        </div>
        <div class="col-3">
            @Html.TextBoxFor(
                     m => m.EndTime,
                     new
                     {
                         @type = "text",
                         @class = "form-control",
                         @required = true,
                         @Value = "10:00 AM"
                     }
             )
        </div>
        <div class="col-3">
            <button type="submit" class="btn btn-primary">Add</button>
        </div>
        @Html.HiddenFor(m => m.CustomerId, new { @id = "appointmentCustomerId" })
        @Html.HiddenFor(m => m.ContactId, new { @id = "appointMentContactId" })
    </div>
}

Commits for ChrisCompleteCodeTrunk/ActionTireCo/ActionTireCo.Crm/Views/Shared/Appointment.cshtml

Diff revisions: vs.
Revision Author Commited Message
1 BBDSCHRIS picture BBDSCHRIS Wed 22 Aug, 2018 20:08:03 +0000