Starting companies and admin

This commit is contained in:
2022-02-08 17:33:34 +00:00
parent 0ff91bbf3a
commit 557b43c911
30 changed files with 934 additions and 5 deletions

View File

@@ -0,0 +1,3 @@
<div class="trix-content">
<%= yield -%>
</div>

View File

@@ -7,12 +7,21 @@
<%= csp_meta_tag %>
<%= stylesheet_link_tag "application", "data-turbo-track": "reload" %>
<%= javascript_importmap_tags %>
</head>
<body>
<header>
<% if notice %><p class="notice"><%= notice %></p><% end %>
<% if alert %><p class="alert"><%= alert %></p><% end %>
<nav>
<a href="/">Home</a>
<% if !user_signed_in? %>
<%= link_to "Login", new_user_session_path %>
<% else %>
<%= button_to "Log out", destroy_user_session_path, method: :delete %>
<% end %>
</nav>
</header>
<%= yield %>
</body>
</html>