app/views/constructor_pages/templates/index.haml in constructor-pages-0.7.7 vs app/views/constructor_pages/templates/index.haml in constructor-pages-0.7.8
- old
+ new
@@ -10,15 +10,15 @@
%section.b-tree.span12
= render_tree(@roots) do |template|
%button.btn.btn-link.disabled= template.name
.b-tree__buttons
- = render partial: 'constructor_pages/partials/arrow_buttons', locals: {item: template}
+ = arrow_buttons_for(template)
= link_to edit_template_path(template), class: 'btn btn-primary btn-mini' do
%i.icon-pencil
=t :edit
- = t(:template).downcase
+ = t(:template).mb_chars.downcase
- = link_to template_path(template), method: :delete, class: 'btn btn-danger btn-mini pull-right', data: {confirm: t(:are_you_sure?)} do
+ = link_to template, method: :delete, class: 'btn btn-danger btn-mini pull-right', data: {confirm: t(:are_you_sure?)} do
%i.icon-remove
=t :delete
\ No newline at end of file