gitcoinco/code_fund_ads

View on GitHub
app/views/creatives/new.html.erb

Summary

Maintainability
Test Coverage
<%= render(PageComponent.new(subject: @creative)) do |component| %>
  <%= component.with(:header) { render(Page::HeaderComponent.new(title: "Adding Creative", subtitle: "Fill out the form below")) } %>
  <%= component.with(:body) { render("/creatives/form", creative: @creative) } %>
<% end %>