Getting there

This commit is contained in:
Jeremy Caudle 2022-02-06 15:22:48 +00:00
parent 055b79373c
commit bc41993dcd
3 changed files with 4 additions and 16 deletions

View File

@ -1,14 +0,0 @@
<p style="color: green"><%= notice %></p>
<h1>Companies</h1>
<div id="companies">
<% @companies.each do |company| %>
<%= render company %>
<p>
<%= link_to "Show this company", company %>
</p>
<% end %>
</div>
<%= link_to "New company", new_company_path %>

View File

@ -0,0 +1,2 @@
<h1>CAF Compliance Tracking</h1>
<h2>By Hidden Agenda Ltd</h2>

View File

@ -10,8 +10,8 @@
</head>
<body>
<p class="notice"><%= notice %></p>
<p class="alert"><%= alert %></p>
<% if notice %><p class="notice"><%= notice %></p><% end %>
<% if alert %><p class="alert"><%= alert %></p><% end %>
<%= yield %>
</body>