You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
1.0 KiB
26 lines
1.0 KiB
% layout 'standard', title => 'Dashboard', sb_active => 'dashboard';
|
|
|
|
%= include 'dashboard/_blog_nav', page => 'create'
|
|
|
|
<form method="POST" action="<%= $c->url_for( 'do_dashboard_blog_post_create' ) %>">
|
|
<div class="mt-3 mb-3">
|
|
<label for="postTitle" class="col-sm-2 col-form-label">Title</label>
|
|
<input type="text" class="form-control" id="postTitle" name="postTitle" value="<%= $c->stash->{form_title} %>">
|
|
</div>
|
|
|
|
<div class="mb-3">
|
|
<label for="postDate" class="col-sm-2 col-form-label">Date</label>
|
|
<input type="text" class="form-control" id="postDate" name="postDate" value="<%= $c->stash->{form_date} %>">
|
|
</div>
|
|
|
|
<div class="mb-3">
|
|
<label for="postContent" class="form-label">Post Content</label>
|
|
<textarea class="form-control" id="postContent" name="postContent" rows="25"><%= $c->stash->{form_content} %></textarea>
|
|
</div>
|
|
|
|
<div class="mb-3">
|
|
<input type="submit" class="btn btn-primary btn-sm float-end" width="100%" value="Create New Post">
|
|
</div>
|
|
|
|
</form>
|
|
|
|
|