<% tag ||= scope.in_form ? "input" : "view"; no_edit ||= "skip" -%> <% required ||= "" ; required = comma_split(required.gsub('-', '_')) -%>
<% field_name = this_field_name input_attrs = {:no_edit => no_edit} if tag == "input" && no_edit == "disable" field_method = scope.field_name.to_s.sub('?', '').gsub('.', '-') id_for_this = param_name_for_this.gsub('[', '_').gsub(']', '') -%>

<%= this_field_help %>

<% field_names = with_fields_helper(attributes) field_names = field_names.select {|f| can_view?(this, f)} unless force_all columns = 1 unless columns columns = columns.to_i size = 12 unless size size = size.to_i span_size = size / columns field_names_groups = field_names.in_groups(columns, false) row_classes = "row" row_classes += " columns" if columns > 1 %>
<% field_names_groups.each do |field_names_group| %>
<% field_names_group.each do |field| %><% if field == "this" %><% else %><% end %><% end %>
<% end %>
<% tag ||= scope.in_form ? "input" : "view"; no_edit ||= "skip" -%> <% required ||= "" ; required = comma_split(required.gsub('-', '_')) -%> <% field_name = this_field_name input_attrs = {:no_edit => no_edit} if tag == "input" && no_edit == "disable" field_method = scope.field_name.to_s.sub('?', '').gsub('.', '-') id_for_this = param_name_for_this.gsub('[', '_').gsub(']', '') -%>

<%= this_field_help %>

<% tag ||= scope.in_form ? "input" : "view"; no_edit ||= "skip" -%> <% required ||= "" ; required = comma_split(required.gsub('-', '_')) -%> <% field_name = this_field_name input_attrs = {:no_edit => no_edit} if tag == "input" && no_edit == "disable" field_method = scope.field_name.to_s.sub('?', '').gsub('.', '-') id_for_this = param_name_for_this.gsub('[', '_').gsub(']', '') -%>

<%= this_field_help %>