Other than simplifying the controller, this'll make it easier to write tests for this code.
11 lines
236 B
Plaintext
11 lines
236 B
Plaintext
<div class="banner-new row">
|
|
|
|
<div class="small-12 column">
|
|
<%= back_link_to admin_banners_path %>
|
|
|
|
<h1><%= t("admin.banners.new.creating") %></h1>
|
|
|
|
<%= render Admin::Banners::FormComponent.new(@banner) %>
|
|
</div>
|
|
</div>
|