mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-25 20:46:48 +00:00
15 lines
614 B
Plaintext
15 lines
614 B
Plaintext
- content_for :page_title do
|
|
= t('.new_payment_method')
|
|
- content_for :page_actions do
|
|
%li
|
|
= button_link_to t('.back_to_payment_methods_list'), admin_payment_methods_path, icon: 'icon-arrow-left'
|
|
= render partial: 'spree/shared/error_messages', locals: { target: @payment_method }
|
|
= form_for @payment_method, url: collection_url do |f|
|
|
%fieldset.no-border-top
|
|
= render partial: 'form', locals: { f: f }
|
|
.one.column
|
|
= render partial: 'spree/admin/shared/hubs_sidebar', locals: { f: f, klass: :payment_method }
|
|
.clear
|
|
.filter-actions.actions
|
|
= button t(:create), 'icon-ok'
|