Created
February 1, 2018 20:54
-
-
Save mitrallex/5fd628fa75e659abf2d9df5fa7cc2c4c to your computer and use it in GitHub Desktop.
laravel-file-hosting
This file contains hidden or 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
| <transition name="fade"> | |
| <div class="container is-fluid" id="message" v-show="notification"> | |
| <div class="notification is-success" v-cloak v-if="!anyError()"> | |
| <button class="delete" @click="notification=false"></button> | |
| <h1 class="subtitle"> | |
| @{{ message }} | |
| </h1> | |
| </div> | |
| <div class="notification is-danger" v-cloak v-if="anyError()"> | |
| <button class="delete" @click="notification=false"></button> | |
| <h1 class="subtitle"> | |
| @{{ message }} | |
| </h1> | |
| <div class="content"> | |
| <ul v-for="error in errors"> | |
| <li v-for="error_item in error"> | |
| @{{ error_item }} | |
| </li> | |
| </ul> | |
| </div> | |
| </div> | |
| </div> | |
| </transition> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment