<% value=attribute_keys[attribute_key_id]
Rails.logger.debug("@labels:#{@labels}")
override_label_value= @labels[value.to_sym] unless @labels.nil?
if(override_label_value!=nil)
label_value=override_label_value
else
label_value= value.to_s.humanize
end %>
<%= label_value %>:
|
<% Rails.logger.debug("attributekey:#{attribute_keys[attribute_key_id]}")%>
<%if(@disabled_fields.include?(attribute_keys[attribute_key_id]))
disabled_flag=true
else
disabled_flag=false
end unless @disabled_fields.nil?
%>
<%= form.text_field attribute_keys[attribute_key_id], :disabled => disabled_flag %>
|
<% end %>
<% end %>