Introduce ViewComponent
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
https://viewcomponent.org
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<%= render partial: "components/header", locals: { page_title: "Donations" } %>
|
||||
<%= render HeaderComponent.new(title: "Donations") %>
|
||||
|
||||
<%= render layout: "components/main_simple" do %>
|
||||
<%= render MainSimpleComponent.new do %>
|
||||
<h2>Editing Donation</h2>
|
||||
|
||||
<%= render 'form', donation: @donation, url: admin_donation_path(@donation) %>
|
||||
|
||||
Reference in New Issue
Block a user