Separated render_field() macro from layout.html; otherwise current_user global vairable wouldn't be available in layout.html when included by other files