<%@ Page Title="" Language="C#" Inherits="System.Web.Mvc.ViewPage<FotbalPortal.Models.Comment>" %>

<% using (Html.BeginForm()) { %>
    <%: Html.AntiForgeryToken() %>
    <%: Html.ValidationSummary(true) %>

    <fieldset>
        <legend>Komentář</legend>
        <div class="editor-label">
            <%: Html.LabelFor(model => model.text) %>
        </div>
        <div class="editor-field">
            <%: Html.TextAreaFor(model => model.text) %>
            <%: Html.ValidationMessageFor(model => model.text) %>
        </div>
        <input type="hidden" name="articleID" value="<%: Html.Raw(ViewBag.articleID) %>" />
        <p>
            <input type="submit" value="Vložit komentář" />
        </p>
    </fieldset>
<% } %>
