This way we can move some of the view logic to the Ruby class. It'll also make it easier to write tests for it.
10 lines
280 B
Plaintext
10 lines
280 B
Plaintext
<% provide :title do %>
|
|
<%= "#{t("admin.header.title")} - #{t("admin.progress_bars.new.creating")}" %>
|
|
<% end %>
|
|
|
|
<%= back_link_to progress_bars_index %>
|
|
|
|
<h2><%= t("admin.progress_bars.new.creating") %></h2>
|
|
|
|
<%= render Admin::ProgressBars::FormComponent.new(@progress_bar) %>
|