render ‘search_form’, search_term: params¶ ↑
%table.table.table-striped
%thead %tr %th Key %th Value - if Authorization.authorized_for?(:remove_content) %th Actions %tbody - @results.each do |result| %tr %td = result[:key] %td = result[:value] - if Authorization.authorized_for?(:remove_content) %td %form{action: '/content/delete', method: 'post'} %input{type: 'hidden', name: 'key', value: result[:key]} %button.btn.btn-danger Delete