Skip to content

armgit / maybe

Public Imported from GitHub
0

The personal finance app for everyone

707 B
Raw Blame
<%# locals: (import:) %>

<div class="h-full flex flex-col justify-center items-center">
  <div class="space-y-6 max-w-sm">
    <div class="mx-auto bg-red-500/5 h-8 w-8 rounded-full flex items-center justify-center">
      <%= icon "alert-octagon", color: "destructive" %>
    </div>

    <div class="text-center space-y-2">
      <h1 class="font-medium text-primary text-center text-3xl">Import failed</h1>
      <p class="text-sm text-secondary">Please check that your file format, for any errors and that all required fields are filled, then come back and try again.</p>
    </div>

    <%= render DS::Button.new(text: "Try again", href: publish_import_path(import), full_width: true) %>
  </div>
</div>