app/views/binda/components/new.html.erb in binda-0.1.3 vs app/views/binda/components/new.html.erb in binda-0.1.4

- old
+ new

@@ -1,7 +1,17 @@ +<% content_for :title do %> + <%= t('binda.new_component',{ arg1: @structure.name.humanize.split.map(&:capitalize).join(' ') }) %> +<% end %> + <% content_for :header do %> - <p class="main-header--title"><%= t('binda.new_component',{ arg1: @structure.name.humanize.split.map(&:capitalize).join(' ') }) %></p> - <a href="<%= structure_components_path %>" class="main-header--back"><span class="glyphicon glyphicon-list"></span> <%= "#{ t :back_to_index }".capitalize %></a> + <p class="main-header--title"> + <%= t('binda.new_component',{ arg1: @structure.name.humanize.split.map(&:capitalize).join(' ') }) %> + </p> + <a href="<%= structure_components_path %>" + class="main-header--back"> + <i class="fas fa-list-ul"></i> + <%= "#{ t :back_to_index }".capitalize %> + </a> <% end %> <% content_for :content do %> <%= render 'binda/fieldable/form_body' %> <% end %> \ No newline at end of file