Sha256: b688c287ba9ba69f2deb59bc64d0a381b74a1ed17735d8ba01667444258b2de1
Contents?: true
Size: 1.97 KB
Versions: 22
Compression:
Stored size: 1.97 KB
Contents
<div class="container"> <% if @error.present? %> <h3><%= @error.message %></h3> <% else %> <div class='contact-new-button'> <%= link_to('New Property', new_property_path, class: 'button', id: 'new-property') %> </div> <table class="properties-list"> <thead> <tr> <th>Name</th> <th>Label</th> <th>Description</th> <th>Type</th> <th>Actions</th> </tr> </thead> <tbody> <% @properties.each do |property| %> <tr class="property"> <td> <a href="/properties/<%= property.name %>"> <div class="property-info property-name"> <%= property.name %> </div> </a> </td> <td> <a href="/properties/<%= property.name %>"> <div class="property-info property-label"> <%= property.label %> </div> </a> </td> <td> <a href="/properties/<%= property.name %>"> <div class="property-info property-description"> <%= property.description %> </div> </a> </td> <td> <a href="/properties/<%= property.name %>"> <div class="property-info property-type"> <%= property.type %> </div> </a> </td> <td> <% if property.modification_metadata.archivable && !property.modification_metadata.read_only_definition %> <a class='remove-button'> <%= button_to "delete", { controller: :properties, action: :destroy, id: property.name }, method: :delete, form_class: 'delete-button' %> </a> <% end%> </td> </tr> <% end %> </tbody> </table> <% end %> </div>
Version data entries
22 entries across 22 versions & 1 rubygems
Version | Path |
---|---|
hubspot-api-client-2.0.0 | sample-apps/contacts-app/app/views/properties/index.html.erb |
hubspot-api-client-1.0.1 | sample-apps/contacts-app/app/views/properties/index.html.erb |