aboutsummaryrefslogtreecommitdiff
path: root/shardweb/lib/shard_web/templates/layout/flashes.html.eex
blob: 5371f436dec45e82f380cc14cc2e5f406312e058 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
                <%= if get_flash(@conn, :info) do %>
                  <div class="row">
                      <div class="col-lg-12">
                          <div class="alert alert-info alert-dismissable">
                              <button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
                              <i class="fa fa-info-circle"></i>  <%= get_flash(@conn, :info) %>
                          </div>
                      </div>
                  </div>
                <% end %>
                <!-- /.row -->

                <%= if get_flash(@conn, :error) do %>
                  <div class="row">
                      <div class="col-lg-12">
                          <div class="alert alert-warning alert-dismissable">
                              <button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
                              <i class="fa fa-info-circle"></i>  <%= get_flash(@conn, :error) %>
                          </div>
                      </div>
                  </div>
                <% end %>
                <!-- /.row -->