summaryrefslogtreecommitdiff
path: root/pages/common/_notice.haml
blob: dc15c96b0741035402637ebd950843a797a56328 (plain)
1
2
3
4
5
6
7
8
9
.row
  .col-sm-8.col-sm-offset-2
    - if @locals[:type] == 'warning'
      .p.alert.alert-danger
        %i.fa.fa-warning
        = @locals[:text]
    - elsif @locals[:type] == 'info'
      .p.alert.alert-info
        = @locals[:text]