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