admin template and form saving functionality