Sha256: 7ccf2127b4b9c6c23275cff1bace32656f150c6746c96039f4109a2dfe82e07d

Contents?: true

Size: 1.77 KB

Versions: 132

Compression:

Stored size: 1.77 KB

Contents

<%= render 'account/shared/page' do |page| %>
  <% page.title t('.section').html_safe %>
  <% page.body do %>
    <%= render 'account/shared/box', divider: true do |box| %>
      <% box.title t('.header') %>
      <% box.description do %>
        <%= t('.description') %>
        <%= t('.manage_description') if can? :manage, @delivery_attempt %>
      <% end %>

      <% box.body do %>
        <% with_attribute_settings object: @delivery_attempt, strategy: :label do %>
          <%= render 'shared/attributes/text', attribute: :attempt_number %>
          <%= render 'shared/attributes/attempt', attribute: :status, success_method: :successful?, attempting_method: :still_attempting?, failure_method: :failed? %>
          <%= render 'shared/attributes/code', attribute: :response_code %>
          <%= render 'shared/attributes/code', attribute: :response_message %>
          <%= render 'shared/attributes/block', attribute: :response_body %>
          <%= render 'shared/attributes/code', attribute: :error_message %>
          <%# 🚅 super scaffolding will insert new fields above this line. %>
        <% end %>
      <% end %>

      <% box.actions do %>
        <%= link_to t('.buttons.edit'), [:edit, :account, @delivery_attempt], class: first_button_primary if can? :edit, @delivery_attempt %>
        <%= button_to t('.buttons.destroy'), [:account, @delivery_attempt], method: :delete, class: first_button_primary, data: { confirm: t('.buttons.confirmations.destroy', model_locales(@delivery_attempt)) } if can? :destroy, @delivery_attempt %>
        <%= link_to t('global.buttons.back'), [:account, @delivery, :delivery_attempts], class: first_button_primary %>
      <% end %>
    <% end %>

    <%# 🚅 super scaffolding will insert new children above this line. %>
  <% end %>
<% end %>

Version data entries

132 entries across 132 versions & 1 rubygems

Version Path
bullet_train-outgoing_webhooks-1.18.0 app/views/account/webhooks/outgoing/delivery_attempts/show.html.erb
bullet_train-outgoing_webhooks-1.17.1 app/views/account/webhooks/outgoing/delivery_attempts/show.html.erb
bullet_train-outgoing_webhooks-1.17.0 app/views/account/webhooks/outgoing/delivery_attempts/show.html.erb
bullet_train-outgoing_webhooks-1.16.0 app/views/account/webhooks/outgoing/delivery_attempts/show.html.erb
bullet_train-outgoing_webhooks-1.15.0 app/views/account/webhooks/outgoing/delivery_attempts/show.html.erb
bullet_train-outgoing_webhooks-1.14.2 app/views/account/webhooks/outgoing/delivery_attempts/show.html.erb
bullet_train-outgoing_webhooks-1.14.1 app/views/account/webhooks/outgoing/delivery_attempts/show.html.erb
bullet_train-outgoing_webhooks-1.14.0 app/views/account/webhooks/outgoing/delivery_attempts/show.html.erb
bullet_train-outgoing_webhooks-1.13.0 app/views/account/webhooks/outgoing/delivery_attempts/show.html.erb
bullet_train-outgoing_webhooks-1.12.3 app/views/account/webhooks/outgoing/delivery_attempts/show.html.erb
bullet_train-outgoing_webhooks-1.12.2 app/views/account/webhooks/outgoing/delivery_attempts/show.html.erb
bullet_train-outgoing_webhooks-1.12.1 app/views/account/webhooks/outgoing/delivery_attempts/show.html.erb
bullet_train-outgoing_webhooks-1.12.0 app/views/account/webhooks/outgoing/delivery_attempts/show.html.erb
bullet_train-outgoing_webhooks-1.11.0 app/views/account/webhooks/outgoing/delivery_attempts/show.html.erb
bullet_train-outgoing_webhooks-1.10.0 app/views/account/webhooks/outgoing/delivery_attempts/show.html.erb
bullet_train-outgoing_webhooks-1.9.0 app/views/account/webhooks/outgoing/delivery_attempts/show.html.erb
bullet_train-outgoing_webhooks-1.8.5 app/views/account/webhooks/outgoing/delivery_attempts/show.html.erb
bullet_train-outgoing_webhooks-1.8.4 app/views/account/webhooks/outgoing/delivery_attempts/show.html.erb
bullet_train-outgoing_webhooks-1.8.3 app/views/account/webhooks/outgoing/delivery_attempts/show.html.erb
bullet_train-outgoing_webhooks-1.8.2 app/views/account/webhooks/outgoing/delivery_attempts/show.html.erb