<% set_default_index do 
	objects @qas
	quick_edit_link type: 'edit',
									link: 'edit_panel_faq_back_end_qa_path'
	quick_edit_link type: 'delete',
									link: 'panel_faq_back_end_qa_path'
	field type: 'status',
				db_field: @statuses,
				translation: 'status',
				hide: 'phone',
				sort: 'status'
	field type: 'associated',
				db_field: 'category',
				model_field: 'title',
				translation: 'category',
				hide: 'phone',
				sort: 'category'
	field db_field: 'title',
				translation: 'title',
				sort: 'title',
				display_option: 'link_to value, panel_faq_front_end_qa_path(object)',
				quick_edit: true,
				header_class: 'span5'
	field type: 'tags',
				hide: 'phone',
				sort: 'tags'
	filter_field  type: 'array',
								values: @statuses,
								translation: 'status'
	filter_field  type: 'objects',
								values: @categories,
								translation: 'category',
								object_field: 'title'
	filter_field  type: 'objects',
								values: @tags,
								translation: 'tags',
								object_field: 'name'
	footer link: 'new_panel_faq_back_end_qa_path'
end %>

<%= render 'admin/default_index/index' %>
