Add information text to the receive view

This commit is contained in:
Patrick Gansterer 2020-06-22 16:25:20 +02:00
parent 5a9cc811c9
commit 0aa853c53d
3 changed files with 5 additions and 1 deletions

View file

@ -11,7 +11,7 @@
contentType: 'application/json; charset=UTF-8'
});
});
$(document).on('OrderArticle#create', function(e) {
$.ajax({
url: '#{receive_on_order_article_create_order_path(@order)}',
@ -24,6 +24,8 @@
- title t('.title', order: @order.name)
%p!= t('.paragraph')
= form_tag(receive_order_path(@order)) do
%fieldset#results
= render 'edit_amounts'