From e5eff07abd6f6ab0f5ab508a7b7c9e6cbb84a73b Mon Sep 17 00:00:00 2001 From: Julius Date: Fri, 12 Jul 2013 21:15:12 +0200 Subject: [PATCH] Move Select2 for stock_article_creation to tfoot of delivery form --- app/views/deliveries/_form.html.haml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/views/deliveries/_form.html.haml b/app/views/deliveries/_form.html.haml index 0c3c2fda..50fa6c74 100644 --- a/app/views/deliveries/_form.html.haml +++ b/app/views/deliveries/_form.html.haml @@ -94,10 +94,6 @@ = f.association :supplier, :as => :hidden %h2= t '.title_select_stock_articles' - .well.well-small - .btn-toolbar - .btn-group - %input#new_stock_article{:style => 'width: 500px;'} %table.table.table-hover#stock_articles_for_adding %thead %tr @@ -107,6 +103,10 @@ %th= t '.unit' %th= t '.category' %th= t '.actions' + %tfoot + %tr + %th{:colspan => 5} + %input#new_stock_article{:style => 'width: 500px;'} %tbody - for article in stock_articles_for_table(@supplier) = render :partial => 'stock_article_for_adding', :locals => {:article => article}