sample-apps/contacts-app/app/views/contacts/show.html.erb in hubspot-api-client-2.0.0 vs sample-apps/contacts-app/app/views/contacts/show.html.erb in hubspot-api-client-2.1.0
- old
+ new
@@ -9,9 +9,10 @@
<p># app/lib/services/hubspot/contacts/show.rb</p>
</pre>
<h3>Properties</h3>
<%= form_for :contact, url: "/contacts/#{params[:id]}", method: 'put' do |form| %>
<% @contact.properties.each do |property_key, property_value| %>
+ <% next if @properties.find { |p| p.name == property_key }.modification_metadata.read_only_value %>
<%= label(:contact, property_key, @properties.find { |p| p.name == property_key }.label) %>
<% if property_key == 'hubspot_owner_id' %>
<%= select(
:contact,
property_key,
\ No newline at end of file