Introduce ViewComponent
All checks were successful
continuous-integration/drone/push Build is passing

https://viewcomponent.org
This commit is contained in:
2022-02-20 15:39:01 -06:00
parent 7c5bd9aa34
commit 835152c656
32 changed files with 123 additions and 37 deletions

View File

@@ -1,6 +1,6 @@
<%= render partial: "components/header", locals: { page_title: "Invitations" } %>
<%= render HeaderComponent.new(title: "Invitations") %>
<%= render layout: "components/main_simple" do %>
<%= render MainSimpleComponent.new do %>
<section>
<p>
There are currently <strong><%= @invitations_unused_count %>