code: def wrap_tmpl(self, tmpl):
          '''
          return the warpped template path.
          :param tmpl:
          '''
          return 'admin/' + tmpl.format(sig='p') if self.is_p else tmpl.format(sig=''f wrap_tmpl(self, tmpl):
          '''
          return the warpped template path.
          :param tmpl:
          '''
          return 'admin/' + tmpl.format(sig='p') if self.is_p else tmpl.format(sig='')
docs: return the warpped template path.
          :param tmpl: