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.6.25 app/views/account/webhooks/outgoing/delivery_attempts/_form.html.erb
bullet_train-outgoing_webhooks-1.6.24 app/views/account/webhooks/outgoing/delivery_attempts/_form.html.erb
bullet_train-outgoing_webhooks-1.6.23 app/views/account/webhooks/outgoing/delivery_attempts/_form.html.erb
bullet_train-outgoing_webhooks-1.6.22 app/views/account/webhooks/outgoing/delivery_attempts/_form.html.erb
bullet_train-outgoing_webhooks-1.6.21 app/views/account/webhooks/outgoing/delivery_attempts/_form.html.erb
bullet_train-outgoing_webhooks-1.6.20 app/views/account/webhooks/outgoing/delivery_attempts/_form.html.erb
bullet_train-outgoing_webhooks-1.6.19 app/views/account/webhooks/outgoing/delivery_attempts/_form.html.erb
bullet_train-outgoing_webhooks-1.6.18 app/views/account/webhooks/outgoing/delivery_attempts/_form.html.erb
bullet_train-outgoing_webhooks-1.6.17 app/views/account/webhooks/outgoing/delivery_attempts/_form.html.erb
bullet_train-outgoing_webhooks-1.6.16 app/views/account/webhooks/outgoing/delivery_attempts/_form.html.erb
bullet_train-outgoing_webhooks-1.6.15 app/views/account/webhooks/outgoing/delivery_attempts/_form.html.erb
bullet_train-outgoing_webhooks-1.6.14 app/views/account/webhooks/outgoing/delivery_attempts/_form.html.erb
bullet_train-outgoing_webhooks-1.6.13 app/views/account/webhooks/outgoing/delivery_attempts/_form.html.erb
bullet_train-outgoing_webhooks-1.6.12 app/views/account/webhooks/outgoing/delivery_attempts/_form.html.erb
bullet_train-outgoing_webhooks-1.6.11 app/views/account/webhooks/outgoing/delivery_attempts/_form.html.erb
bullet_train-outgoing_webhooks-1.6.10 app/views/account/webhooks/outgoing/delivery_attempts/_form.html.erb
bullet_train-outgoing_webhooks-1.6.9 app/views/account/webhooks/outgoing/delivery_attempts/_form.html.erb
bullet_train-outgoing_webhooks-1.6.8 app/views/account/webhooks/outgoing/delivery_attempts/_form.html.erb
bullet_train-outgoing_webhooks-1.6.7 app/views/account/webhooks/outgoing/delivery_attempts/_form.html.erb
bullet_train-outgoing_webhooks-1.6.6 app/views/account/webhooks/outgoing/delivery_attempts/_form.html.erb