﻿@model alert_roster.web.Models.Message

@{
    ViewBag.Title = "Post New Message";
}

<h2>@ViewBag.Title</h2>

@using (Html.BeginForm("New", "Home", FormMethod.Post))
{
    @Html.AntiForgeryToken()

    <div class="form-horizontal">
        <hr />
        @Html.ValidationSummary(true)

        <div class="alert alert-info">
            Please limit messages to < 160 characters.
        </div> 

        <div class="form-group">
            @Html.LabelFor(model => model.Content, new { @class = "control-label col-md-2" })
            <div class="col-md-10">
                @Html.TextAreaFor(model => model.Content, new { rows = "3", cols = "80" })
                @Html.ValidationMessageFor(model => model.Content)
            </div>
        </div>

        <div class="form-group">
            <div class="col-md-offset-2 col-md-10">
                <input type="submit" value="Post" class="btn btn-default" />
            </div>
        </div>
    </div>

    <div>
        @Html.ActionLink("Back to List", "Index")
    </div>
}


﻿@model alert_roster.web.Models.Message

@{
    ViewBag.Title = "Post New Message";
}

<h2>@ViewBag.Title</h2>

@using (Html.BeginForm("New", "Home", FormMethod.Post))
{
    @Html.AntiForgeryToken()

    <div class="form-horizontal">
        <hr />
        @Html.ValidationSummary(true)

        <div class="alert alert-info">
            Please limit messages to < 160 characters. Note that, due to notifications being sent,
            editing or deleting a post is currently unavailable.
        </div> 

        <div class="form-group">
            @Html.LabelFor(model => model.Content, new { @class = "control-label col-md-2" })
            <div class="col-md-10">
                @Html.TextAreaFor(model => model.Content, new { rows = "3", cols = "80" })
                @Html.ValidationMessageFor(model => model.Content)
            </div>
        </div>

        <div class="form-group">
            <div class="col-md-offset-2 col-md-10">
                <input type="submit" value="Post" class="btn btn-default" />
            </div>
        </div>
    </div>

    <div>
        @Html.ActionLink("Back to List", "Index")
    </div>
}


Add warning about no edit/delete
Add warning about no edit/delete
