Sha256: 01861cb733c177a702f60a170cc5f4ca89f133e1ed49e24dfa9c3a7ba1b18d80

Contents?: true

Size: 1.16 KB

Versions: 144

Compression:

Stored size: 1.16 KB

Contents

<%= form_with model: delivery_attempt, url: (delivery_attempt.persisted? ? [:account, delivery_attempt] : [:account, @delivery, :delivery_attempts]), local: true, class: 'form' do |form| %>
  <%= render 'account/shared/forms/errors', form: form %>

  <% with_field_settings form: form do %>
    <%= render 'shared/fields/text_field', method: :response_code, options: {autofocus: true} %>
    <%= render 'shared/fields/text_area', method: :response_body %>
    <%= render 'shared/fields/text_area', method: :response_message %>
    <%= render 'shared/fields/text_area', method: :error_message %>
    <%= render 'shared/fields/text_field', method: :attempt_number %>
    <%# 🚅 super scaffolding will insert new fields above this line. %>
  <% end %>

  <div class="buttons">
    <%= form.submit (form.object.persisted? ? t('.buttons.update') : t('.buttons.create')), class: "button" %>
    <% if form.object.persisted? %>
    <%= link_to t('global.buttons.cancel'), [:account, delivery_attempt], class: "button-secondary" %>
    <% else %>
    <%= link_to t('global.buttons.cancel'), [:account, @delivery, :delivery_attempts], class: "button-secondary" %>
    <% end %>
  </div>

<% end %>

Version data entries

144 entries across 144 versions & 1 rubygems

Version Path
bullet_train-outgoing_webhooks-1.10.0 app/views/account/webhooks/outgoing/delivery_attempts/_form.html.erb
bullet_train-outgoing_webhooks-1.9.0 app/views/account/webhooks/outgoing/delivery_attempts/_form.html.erb
bullet_train-outgoing_webhooks-1.8.5 app/views/account/webhooks/outgoing/delivery_attempts/_form.html.erb
bullet_train-outgoing_webhooks-1.8.4 app/views/account/webhooks/outgoing/delivery_attempts/_form.html.erb
bullet_train-outgoing_webhooks-1.8.3 app/views/account/webhooks/outgoing/delivery_attempts/_form.html.erb
bullet_train-outgoing_webhooks-1.8.2 app/views/account/webhooks/outgoing/delivery_attempts/_form.html.erb
bullet_train-outgoing_webhooks-1.8.1 app/views/account/webhooks/outgoing/delivery_attempts/_form.html.erb
bullet_train-outgoing_webhooks-1.8.0 app/views/account/webhooks/outgoing/delivery_attempts/_form.html.erb
bullet_train-outgoing_webhooks-1.7.23 app/views/account/webhooks/outgoing/delivery_attempts/_form.html.erb
bullet_train-outgoing_webhooks-1.7.22 app/views/account/webhooks/outgoing/delivery_attempts/_form.html.erb
bullet_train-outgoing_webhooks-1.7.21 app/views/account/webhooks/outgoing/delivery_attempts/_form.html.erb
bullet_train-outgoing_webhooks-1.7.20 app/views/account/webhooks/outgoing/delivery_attempts/_form.html.erb
bullet_train-outgoing_webhooks-1.7.19 app/views/account/webhooks/outgoing/delivery_attempts/_form.html.erb
bullet_train-outgoing_webhooks-1.7.18 app/views/account/webhooks/outgoing/delivery_attempts/_form.html.erb
bullet_train-outgoing_webhooks-1.7.17 app/views/account/webhooks/outgoing/delivery_attempts/_form.html.erb
bullet_train-outgoing_webhooks-1.7.16 app/views/account/webhooks/outgoing/delivery_attempts/_form.html.erb
bullet_train-outgoing_webhooks-1.7.15 app/views/account/webhooks/outgoing/delivery_attempts/_form.html.erb
bullet_train-outgoing_webhooks-1.7.14 app/views/account/webhooks/outgoing/delivery_attempts/_form.html.erb
bullet_train-outgoing_webhooks-1.7.13 app/views/account/webhooks/outgoing/delivery_attempts/_form.html.erb
bullet_train-outgoing_webhooks-1.7.12 app/views/account/webhooks/outgoing/delivery_attempts/_form.html.erb