Method: Fe::TextField#ptemplate

Defined in:
app/models/fe/text_field.rb

#ptemplateObject

which view to render this element?



8
9
10
11
12
13
14
# File 'app/models/fe/text_field.rb', line 8

def ptemplate
  if self.style == 'essay'
    'fe/text_area_field'
  else
    'fe/text_field'
  end
end