          context = Context({
              'field': field,
              'input_type': input_type,
              'renderer': self,
              'layout': layout
          })
  
          return template.render(context)
  
      def render(self, data, accepted_media_type=None, renderer_context=None):
 
</s> remove         template_name = 'rest_framework/fields/' + layout + '/' + base
 </s> add         template_name = template_pack + '/fields/' + base </s> remove             'layout': getattr(getattr(data, 'Meta', None), 'layout', 'horizontal'),
 </s> add             'template_pack': 'rest_framework/horizontal', </s> remove 
        template = loader.get_template(self.template)
 </s> add         template = loader.get_template('rest_framework/horizontal/form.html') </s> remove     template = 'rest_framework/form.html'
 </s> add  </s> remove         if style_type == 'textarea' and layout == 'inline':
            style_type = 'default'
 </s> add 
          context = Context({
              'field': field,
              'input_type': input_type,
              'renderer': self,

          })
  
          return template.render(context)
  
      def render(self, data, accepted_media_type=None, renderer_context=None):
keep keep keep keep replace keep keep keep keep keep
 Reorganize to use template_pack in form rendering 
rest_framework/renderers.py