mirror of
https://github.com/oonyeje/Pearlception_Website_RoR.git
synced 2025-12-25 03:37:40 +00:00
- This will need to revamped later on to potentially have a rack app serving the different rails applications and static website.
23 lines
734 B
Plaintext
23 lines
734 B
Plaintext
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title><%= (request.subdomain == '') ? 'IVAUSA' : request.subdomain.humanize %> </title>
|
|
<%= csrf_meta_tags %>
|
|
<%= javascript_include_tag "application", "data-turbolinks-track" => false %>
|
|
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %>
|
|
<%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>
|
|
<% if notice %>
|
|
<p class="alert alert-success" align="center"><%= notice %></p>
|
|
<% end %>
|
|
<% if alert %>
|
|
<p class="alert alert-danger" align="center"><%= alert %></p>
|
|
<% end %>
|
|
</head>
|
|
|
|
<body>
|
|
<%= yield %>
|
|
<!-- <%= debug(params) if Rails.env.development? %> -->
|
|
</body>
|
|
|
|
</html>
|