app/views/binda/components/edit.html.erb in binda-0.1.5 vs app/views/binda/components/edit.html.erb in binda-0.1.6

- old
+ new

@@ -6,10 +6,11 @@ <% content_for :header do %> <div class="main-header--buttons"> <% if @structure.has_preview %> <a href="<%= "#{binda.root_path}#{@structure.slug}/#{@instance.slug}" %>" - class="main-header--link b-btn b-btn-primary"> + class="main-header--link b-btn b-btn-primary" + target="_blank"> <i class="fas fa-link"></i> <%= t 'binda.preview' %> <%= @structure.name.humanize.split.map(&:capitalize).join(' ') %> </a> <% end %>