.container
    .row.flashMessage
        .col-xs-12.col-sm-8.col-sm-offset-2.col-md-6.col-md-offset-3
            if messages.danger
              .alert.alert-danger.fade.in
                button.close(type='button', data-dismiss='alert')
                  span.ion-close-circled
                for msg in messages.danger
                  div!= msg
            if messages.info
              .alert.alert-info.fade.in
                button.close(type='button', data-dismiss='alert')
                  span.ion-close-circled
                for msg in messages.info
                  div!= msg
            if messages.success
              .alert.alert-success.fade.in
                button.close(type='button', data-dismiss='alert')
                  span.ion-close-circled
                for msg in messages.success
                  div!= msg
