Better toasts. Add pg service in travis.
This commit is contained in:
1 parent
0125eadc38
commit
e77691d960
8 files changed
+149
-30
No files matched your search
@@ -10,15 +10,8 @@
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<% unless flash.empty? %>
|
||||
<script type="text/javascript">
|
||||
<% flash.each do |f| %>
|
||||
<% type = f[0].to_s.gsub('alert', 'error').gsub('notice', 'info') %>
|
||||
toastr['<%= type %>']('<%= f[1] %>');
|
||||
<% end %>
|
||||
</script>
|
||||
<% end %>
|
||||
|
||||
<%= render 'layouts/toasts' %>
|
||||
<%= render 'layouts/top_navigation' %>
|
||||
<%= render 'layouts/content' %>
|
||||
<%= render 'layouts/footer' %>
|
||||
|
||||
Reference in new issue
Block a user