Sha256: bd54885432f78845109282d4c13abb18ce72545e4f4141dc1f5fbeb0d11823a1

Contents?: true

Size: 603 Bytes

Versions: 6

Compression:

Stored size: 603 Bytes

Contents

module Roroacms  
	module AdminViewHelper

		# There functions are used to recreate the views in the main application.

		# renders the table header file

		def obtain_admin_table_header(variables)
			render partial: 'roroacms/admin/partials/table_header', locals: variables
		end

		# renders the submit bar header file

		def obtain_admin_submit_bar
			render :partial => 'roroacms/admin/partials/submit_bar'
		end

		# renders the table editor file

		def obtain_admin_editor(variables)
			render :partial => 'roroacms/admin/partials/editor', locals: variables
		end

	end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
roroacms-0.0.6.9 app/helpers/roroacms/admin_view_helper.rb
roroacms-0.0.6.8 app/helpers/roroacms/admin_view_helper.rb
roroacms-0.0.6.7 app/helpers/roroacms/admin_view_helper.rb
roroacms-0.0.6.6 app/helpers/roroacms/admin_view_helper.rb
roroacms-0.0.6.5 app/helpers/roroacms/admin_view_helper.rb
roroacms-0.0.6.4 app/helpers/roroacms/admin_view_helper.rb