<%@ Page Title="" Language="C#" MasterPageFile="~/base.master" AutoEventWireup="true" CodeFile="crear_post.aspx.cs" Inherits="crear_post" %>

<asp:Content ID="head" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="content" ContentPlaceHolderID="content" runat="Server">
    <h1>Crear Post</h1>
    <div class="form-group">
        <label for="title_box">Titulo</label>
        <asp:TextBox CssClass="form-control" ID="title_box" runat="server" />
        <asp:RequiredFieldValidator CssClass="invalid-message" ControlToValidate="title_box" Display="Dynamic" EnableClientScript="false" runat="server"/>
    </div>
    <div class="form-group">
        <label for="markdown">Contenido</label>
        <asp:TextBox CssClass="form-control" TextMode="MultiLine" Rows="20" ID="markdown_box" runat="server" />
        <asp:RequiredFieldValidator CssClass="invalid-message" ControlToValidate="markdown_box" Display="Dynamic" EnableClientScript="false" runat="server"/>
    </div>
    <asp:Button class="btn btn-primary" OnClick="OnCrear" Text="Crear" runat="server" />
</asp:Content>
<asp:Content ID="script" ContentPlaceHolderID="script" runat="Server">
</asp:Content>

