app/views/binda/field_groups/new.html.erb in binda-0.1.3 vs app/views/binda/field_groups/new.html.erb in binda-0.1.4
- old
+ new
@@ -1,7 +1,19 @@
+<% content_for :title do %>
+ <%= t('binda.new_field_group') %>
+<% end %>
+
+
<% content_for :header do %>
- <h3>New Field Group</h3>
- <a href="<%= structure_path( @structure.slug ) %>" class="main-header--back"><span class="glyphicon glyphicon-list"></span> <%= "#{ t :back_to }".capitalize %> <%= @structure.name.capitalize %></a>
+ <h3>
+ <%= t('binda.new_field_group') %>
+ </h3>
+ <a href="<%= structure_path( @structure.slug ) %>"
+ class="main-header--back">
+ <i class="fas fa-list-ul"></i>
+ <%= "#{ t :back_to }".capitalize %>
+ <%= @structure.name.capitalize %>
+ </a>
<% end %>
<% content_for :content do %>
<%= render 'form_body' %>
<% end %>
\ No newline at end of file