diff options
Diffstat (limited to 'app/views/referential_companies/index.html.slim')
| -rw-r--r-- | app/views/referential_companies/index.html.slim | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/app/views/referential_companies/index.html.slim b/app/views/referential_companies/index.html.slim new file mode 100644 index 000000000..b32f206ca --- /dev/null +++ b/app/views/referential_companies/index.html.slim @@ -0,0 +1,24 @@ += title_tag t('companies.index.title') + += search_form_for @q, :url => referential_companies_path(@referential), remote: true, :html => {:method => :get, class: 'form-inline', id: 'search', role: "form"} do |f| + + .panel.panel-default + .panel-heading + .input-group.col-md-12 + = f.text_field :name_cont, placeholder: t('.name'), class: 'form-control' + .input-group-btn + button.btn.btn-default type="submit" + i.fa.fa-search + + / <!-- /input-group --> + / <!-- <a data-toggle="collapse" data-parent="#search" href="#advanced_search"> --> + / <!-- <i class="fa fa-plus"></i> <%= "#{t('.advanced_search')}" %> --> + / <!-- </a> --> +#companies + = render partial: 'companies', object: @companies + +- content_for :sidebar do + ul.actions + li + = link_to t('companies.actions.new'), new_referential_company_path(@referential), class: 'add' + br
\ No newline at end of file |
