Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <h2>Comments</h2>
- <hr class="mb-2">
- <v-layout wrap>
- <v-flex xs12 v-for="comment in module.comments" :key="comment.id" class="mb-2">
- <v-card>
- <v-card-title primary-title>
- <div class="headline">{{comment.user.name}}</div>
- <v-spacer></v-spacer>
- <span class="grey--text align-end">{{comment.created_at}}</span>
- </v-card-title>
- <v-card-text>
- {{comment.content}}
- </v-card-text>
- </v-card>
- </v-flex>
- <v-flex xs12 class="mb-3" v-if="$auth.isLogged()">
- <module-comment v-model="module" v-on:comment="reload"></module-comment>
- </v-flex>
- </v-layout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement