ubicloud/views/components/form/partnership_notice.erb
Jeremy Evans 750ebdc055 Change from erb_formatter to herb/formatter
Currently, herb/formatter has at least 4 bugs the prevent us from
switching to it (https://github.com/marcoroth/herb/issues 476, 477,
478, and 479). This includes manual fixes for each issue.

herb/formatter also introduces a rubocop violation for the
Layout/AssignmentIndentation cop. This disables that cop.
2025-09-05 14:01:01 -07:00

15 lines
462 B
Text

<%# locals: (description:, tos_text:) %>
<div class="col-span-full">
<div class="space-y-2">
<label class="text-sm font-medium leading-6 text-gray-900">Partnership Notice</label>
<div class="space-y-1 text-sm leading-6 text-gray-600">
<% Array(description).each do |desc| %>
<p><%== desc %></p>
<% end %>
</div>
<%== part("components/form/checkbox", options: [["1", tos_text, {}, { required: true }]]) %>
</div>
</div>