mirror of
https://github.com/ubicloud/ubicloud.git
synced 2025-10-07 07:11:58 +08:00
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.
20 lines
799 B
Text
20 lines
799 B
Text
<% unless @has_valid_payment_method %>
|
|
<div class="-mt-6 mb-2 rounded-md bg-red-50 p-4">
|
|
<div class="flex items-center">
|
|
<div class="flex-shrink-0">
|
|
<%== part("components/icon", name: "hero-banknotes", classes: "h-9 w-9 text-red-400") %>
|
|
</div>
|
|
<div class="ml-3">
|
|
<h3 class="text-sm font-medium text-red-700">
|
|
Project doesn't have valid billing information. You have to create project's billing details first.
|
|
<br>
|
|
Project doesn't have valid billing information. You have to create
|
|
project's billing details first.
|
|
<br>
|
|
<a href="<%= @project.path %>/billing" class="font-bold text-red-800">Click here</a>
|
|
to create billing details.
|
|
</h3>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<% end %>
|