Kcko
1/26/2016 - 1:28 PM

Flashes

Flashes

  <div n:if="$flashes">
      <div n:foreach="$flashes as $flash" class="alert-{$flash->type}">{$flash->message}</div>
  </div>


  <div n:if="$form->hasErrors()">
      <div n:foreach="$form->errors as $error" class="alert-error">{$error}</div>
  </div>