Getting there
This commit is contained in:
parent
055b79373c
commit
bc41993dcd
@ -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 %>
|
|
||||||
2
app/views/home/index.html.erb
Normal file
2
app/views/home/index.html.erb
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
<h1>CAF Compliance Tracking</h1>
|
||||||
|
<h2>By Hidden Agenda Ltd</h2>
|
||||||
@ -10,8 +10,8 @@
|
|||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<p class="notice"><%= notice %></p>
|
<% if notice %><p class="notice"><%= notice %></p><% end %>
|
||||||
<p class="alert"><%= alert %></p>
|
<% if alert %><p class="alert"><%= alert %></p><% end %>
|
||||||
|
|
||||||
<%= yield %>
|
<%= yield %>
|
||||||
</body>
|
</body>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user