mirror of
https://github.com/hkalexling/Mango.git
synced 2026-04-24 00:03:12 -04:00
Move the JS alert function definition to /js/alert.js and move the alert div to views/layout.ecr
This commit is contained in:
+1
-1
@@ -1,4 +1,3 @@
|
||||
<div id="alert"></div>
|
||||
<table class="uk-table uk-table-divider">
|
||||
<thead>
|
||||
<tr>
|
||||
@@ -27,5 +26,6 @@
|
||||
|
||||
|
||||
<% content_for "script" do %>
|
||||
<script src="/js/alert.js"></script>
|
||||
<script src="/js/user.js"></script>
|
||||
<% end %>
|
||||
|
||||
Reference in New Issue
Block a user