 
   def get_label(field_name, opts) do
     cond do
-      Map.get(opts, :type) in ["hidden", :hidden] -> :none
-      true -> Map.get opts, :label, field_name
+      Map.get(opts, :type) in ["hidden", :hidden] -> 
+        :none
+      Map.get(opts, :display) -> 
+        {:hidden, Map.get(opts, :label, field_name) }
+      true -> 
+        Map.get opts, :label, field_name
     end
   end
 

    fieldset(".inputs", opts) do
      build_fieldset_legend(item[:name]) 
      ol do
        for inpt <- item[:inputs] do
          build_item(inpt, resource, model_name, errors)
        end
      end
    end
  end

  def build_has_many_fieldset(res, fields, orig_inx, ext_name, field_field_name, model_name, errors) do

            map_relationship_fields(item, assoc_fields)
            |> option([value: "#{item.id}"] ++ selected) 
          end
        end
      end
      build_errors(errors)
    end)  
    if onchange, do: {:change, %{id: id <> "_id", script: onchange}}
  end

  def build_item(%{type: :actions, items: items}, resource, model_name, errors) do
