<h1><%= type %></h1>
<%= include.('notices.html', notices: type) %>
<%= type %>
<% if !type.empty? %>
<h2>Input fields</h2>
<%= include.('fields.html', fields: type) %>
<% end %>
<% if !type.empty? %>
<h2>Return fields</h2>
<%= include.('fields.html', fields: type) %>
<% end %>