Sha256: 816aae423ca04c992cc92bf6277c56353afc6a0859c23b20a8ad02e321ba56aa

Contents?: true

Size: 1.01 KB

Versions: 13

Compression:

Stored size: 1.01 KB

Contents

= render partial: 'title'
-# .row
-# 	.col.s12
-# 		%h3= yield :title

.row
	.col.s12
		%form.form-inline{ action: resources_url( resources, controller: params[:controller]), method: "get"}
			.form-group.col.s12
				%label{ for: "q" }
				%input.search-list.form-control{ style: "width: 100%", type: "text", id: "q", name: "q", placeholder: t('search_placeholder'), value: "#{params[:q] || ''}" }
				.collection{ style: "border: 0px"}
					%a.search-list.btn.btn-primary{ type: "submit"}= t('search_button_text')
					- if resources.respond_to? :total_count
						%span.blue-grey-text{style: "margin-top: 6px"}
							= t("#{resources_name}.posts", size: resources.total_count)
				-#
				-# = link_to t( resource_class.to_s + '.new'), new_resource_url, class: 'btn btn-success'

.row
	.col.s12
		 
.row
	.col.s12
		%table.bordered.responsive-table.striped.hoverable.page.resources_table
			= render partial: resources_name

= build_fab_button build_fab_options( resource, fab_button_options.merge!( action: params[:action] ))

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
abstracted-0.3.3 app/views/abstract_resources/index.html.haml
abstracted-0.3.2 app/views/abstract_resources/index.html.haml
abstracted-0.3.1 app/views/abstract_resources/index.html.haml
abstracted-0.3.0 app/views/abstract_resources/index.html.haml
abstracted-0.2.9 app/views/abstract_resources/index.html.haml
abstracted-0.2.8 app/views/abstract_resources/index.html.haml
abstracted-0.2.7 app/views/abstract_resources/index.html.haml
abstracted-0.2.6 app/views/abstract_resources/index.html.haml
abstracted-0.2.5 app/views/abstract_resources/index.html.haml
abstracted-0.2.2 app/views/abstract_resources/index.html.haml
abstracted-0.1.2 app/views/abstract_resources/index.html.haml
abstracted-0.1.1 app/views/abstract_resources/index.html.haml
abstracted-0.0.15 app/views/abstract_resources/index.html.haml