app/views/account/webhooks/outgoing/endpoints/new.html.erb in bullet_train-outgoing_webhooks-1.2.20 vs app/views/account/webhooks/outgoing/endpoints/new.html.erb in bullet_train-outgoing_webhooks-1.2.21
- old
+ new
@@ -1,12 +1,7 @@
-<%= render 'account/shared/page' do |p| %>
- <% p.content_for :title, t('.section') %>
- <% p.content_for :body do %>
- <%= render 'account/shared/box', divider: true do |p| %>
- <% p.content_for :title, t('.header') %>
- <% p.content_for :description, t('.description') %>
- <% p.content_for :body do %>
- <%= render 'form', endpoint: @endpoint %>
- <% end %>
- <% end %>
+<%= render 'account/shared/page' do |page| %>
+ <% page.title t('.section') %>
+ <% page.body.render 'account/shared/box', divider: true do |box| %>
+ <% box.t :description, title: '.header' %>
+ <% box.body.render 'form', endpoint: @endpoint %>
<% end %>
<% end %>