.container .row %h3.text-center Listing propertytypes %hr = link_to 'New Type', new_propertytype_path, class: 'btn btn-lg btn-block btn-success' %hr .col-lg-3 =render 'layouts/admin/side_menu' .col-lg-9 %table.table.table-striped.table-bordered.table-hover %tr %th Title en %th Title ru %th Title fr %th Title es %th %th %th - @propertytypes.each do |propertytype| %tr %td= propertytype.title_en %td= propertytype.title_ru %td= propertytype.title_fr %td= propertytype.title_es %td= link_to 'Show', propertytype, class:'btn btn-primary' %td= link_to 'Edit', edit_propertytype_path(propertytype), class: 'btn btn-warning' %td= link_to 'Destroy', propertytype, :method => :delete, :data => { confirm: 'Are you sure?' }, class: 'btn btn-danger'