admin code in views/lab_template/index.html.erb