<%# locals: (notice: nil, error: nil) %>

<% if notice.present? %>
  <%= render DS::Alert.new(message: notice, variant: :success) %>
<% elsif error.present? %>
  <%= render DS::Alert.new(message: error, variant: :error) %>
<% end %>
