Sha256: 3702bdb38da0b9e316517de6375416dc09ec844447ee4b8de3d2ec790d20542c

Contents?: true

Size: 713 Bytes

Versions: 3

Compression:

Stored size: 713 Bytes

Contents

- content_for :page_title do
  =t :templates

- content_for :actions do
  .span4.clearfix.text-right
    = link_to new_template_path, class: 'btn btn-link btn-large' do
      %i.icon-plus
      =t :new_template

%section.b-tree.span12
  = render_tree(@roots) do |template|
    %button.btn.btn-link.disabled= template.name

    .b-tree__buttons
      = arrow_buttons_for(template)

      = link_to edit_template_path(template), class: 'btn btn-primary btn-mini' do
        %i.icon-pencil
        =t :edit
        = t(:template).mb_chars.downcase

      = 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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
constructor-pages-0.7.10 app/views/constructor_pages/templates/index.haml
constructor-pages-0.7.9 app/views/constructor_pages/templates/index.haml
constructor-pages-0.7.8 app/views/constructor_pages/templates/index.haml