Create tracker rol
This commit is contained in:
15
app/views/tracking/progress_bars/edit.html.erb
Normal file
15
app/views/tracking/progress_bars/edit.html.erb
Normal file
@@ -0,0 +1,15 @@
|
||||
<% if @progress_bar.primary? %>
|
||||
<% bar_title = t("tracking.progress_bars.edit.title.primary") %>
|
||||
<% else %>
|
||||
<% bar_title = t("tracking.progress_bars.edit.title.secondary", title: @progress_bar.title) %>
|
||||
<% end %>
|
||||
|
||||
<% provide :title do %>
|
||||
<%= "#{t("tracking.header.title")} - #{bar_title}" %>
|
||||
<% end %>
|
||||
|
||||
<%= back_link_to progress_bars_index %>
|
||||
|
||||
<h2><%= bar_title %></h2>
|
||||
|
||||
<%= render "form" %>
|
||||
Reference in New Issue
Block a user