MaCH repo
This commit is contained in:
13
12_rails_15_min_blog_external/new_post.mustache.html
Normal file
13
12_rails_15_min_blog_external/new_post.mustache.html
Normal file
@@ -0,0 +1,13 @@
|
||||
{{< layout}}
|
||||
{{$body}}
|
||||
<h1 class="text-3xl font-bold text-gray-900 mb-8">New Post</h1>
|
||||
|
||||
<form method="post" action="{{url:posts}}">
|
||||
{{> post_form}}
|
||||
</form>
|
||||
|
||||
<a href="{{url:posts}}" class="text-gray-500 hover:text-gray-700 mt-4 inline-block">
|
||||
← Back to posts
|
||||
</a>
|
||||
{{/body}}
|
||||
{{/layout}}
|
||||
Reference in New Issue
Block a user