add courier info

This commit is contained in:
nasia 2017-08-27 23:40:32 +03:00
parent 792a7fed1c
commit 30e70cc5d6
10 changed files with 146 additions and 95 deletions

View file

@ -0,0 +1,7 @@
.row
.col-md-4
= f.input :courrier_name, label: 'Courier\'s name', input_html: { name: "sponsor[courier_info][#{index}][courier_name]", value: name_value }
.col-md-4
= f.input :tracking_number, input_html: { name: "sponsor[courier_info][#{index}][tracking_number]", value: tracking_value}
.col-md-4
= f.input :boxes, as: :number, in: 0...999, label: 'Number of boxes', input_html: { name: "sponsor[courier_info][#{index}][boxes]", value: boxes_value }