extends ../layout

block content

	h3 Get all restaurants
	each restaurant in restaurants
		div(class="row")
			div(class="large-3 columns") #{restaurant._id}
			div(class="large-1 columns") #{restaurant.name}
			div(class="large-1 columns") #{restaurant.owner_name}
			div(class="large-3 columns") #{restaurant.reservation_email}
			div(class="large-3 columns") #{restaurant.survey_url}
			
extends ../layout

block content

	h3 Show all restaurants
	table
		thead
			tr
				th Restaurant ID
				th(width="150") Name
				th(width="150") Owner Name
				th(width="300") Reservation Email
				th(width="350") Survey URL
		tbody
		each restaurant in restaurants
			tr
				td #{restaurant._id}
				td #{restaurant.name}
				td #{restaurant.owner_name}
				td #{restaurant.reservation_email}
				td #{restaurant.survey_url}
				
Use table to render tabular restaurant data
Use table to render tabular restaurant data
