Created
October 24, 2020 18:50
-
-
Save RyanKor/8a585337d2a6c773d42f4ac0820fe82c to your computer and use it in GitHub Desktop.
Main page for hash tag
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
extends layout | |
block content | |
if user | |
.twits | |
form#hashtag-form(action='/post/hashtag') | |
input(type='text' name='hashtag' placeholder='Tag Search') | |
button.btn Search | |
form#sns-form(action='/post' method='POST' enctype='multipart/form-data') | |
.sns-discription post content | |
textarea#sns(name='content' maxlength=140) | |
if user | |
.timeline | |
for content in contents | |
.post | |
.twit-author Author : #{content.user.nick} | |
.twit-content= content.content | |
input.twit-user-id(type='hidden' value=content.user.id) | |
input.twit-id(type='hidden' value=content.id) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment