extends table_layout block content p Number of users registered based on the country: form(action='/registration/summary', method='POST') label(for="Country") Country: select.form-control( id="country" name="country" ) each country in countries option(value=country) #{country} input(type='submit', value='Submit') h3= "Total number of users: " + users.length if users.length div.table-responsive-xxl table.table.table-striped.table-hover thead.thead-dark tr th First name th Middle name or initial th Last name th Email th Status th DUA Initials th Personal Information th Profile each user in users tr td= user.detail_information.first_name td= user.detail_information.middle_name_or_initial td= user.detail_information.last_name td= user.email td span(id=user._id+'_status')= user.status td= user.dua_completed td= user.dg_completed td a(href="view_user_profile?userId="+user._id) View profile else p No users yet :(