<% tag ||= scope.in_form ? "input" : "view"; no_edit ||= "skip" %> <% field_name = this_field_name input_attrs = {:no_edit => no_edit} if tag == "input" field_name_as_param = scope.field_name.to_s.sub('?', '').gsub('.', '-') -%> <%= field_name %>
<%= this_field_help %>