app/views/account/webhooks/outgoing/endpoints/show.html.erb in bullet_train-outgoing_webhooks-1.2.4 vs app/views/account/webhooks/outgoing/endpoints/show.html.erb in bullet_train-outgoing_webhooks-1.2.5
- old
+ new
@@ -10,10 +10,11 @@
<% p.content_for :body do %>
<% with_attribute_settings object: @endpoint, strategy: :label do %>
<%= render 'shared/attributes/text', attribute: :name %>
<%= render 'shared/attributes/code', attribute: :url %>
+
<% # TODO We should make the `has_many` attribute partial configurable enough to handle this use case. %>
<%= render 'shared/attributes/attribute', attribute: :event_types do %>
<% if @endpoint.event_type_ids.any? %>
<% @endpoint.event_types.map do |event_type| %>
<% capture do %>
@@ -23,9 +24,11 @@
<% else %>
<% # TODO It feels like a Nice Partials bug that we can't just do `t('.fields.event_types.all')` here. %>
<%= t('webhooks/outgoing/endpoints.fields.event_types.all') %>
<% end %>
<% end %>
+
+ <%= render 'shared/attributes/belongs_to', attribute: :scaffolding_absolutely_abstract_creative_concept %>
<%# 🚅 super scaffolding will insert new fields above this line. %>
<% end %>
<% end %>
<% p.content_for :actions do %>