Sha256: 76f74fe1a2689f523431b2af30e315ef837eae46d22fb84d72db95b6e0a788d3

Contents?: true

Size: 1 KB

Versions: 4

Compression:

Stored size: 1 KB

Contents

<% if can? :config_upload, Kaui::AdminTenant %>
    <div class="tab-pane fade" id="InvoiceTemplate">
      <%= form_tag({:action => :upload_invoice_template}, :method => 'post', :multipart => true, :class => 'form-horizontal') do %>
          <%= hidden_field_tag(:id, @tenant.id) %>

          <div class="form-group">
            <div class="col-sm-10">
              <%= file_field_tag 'invoice_template', :class => 'form-control', :required => true %>
            </div>
          </div>
          <div class="form-group">
            <div class="col-sm-10">
              <div class="checkbox">
                <label>
                  <%= check_box_tag :manual_pay %>
                  <span>Manual Pay</span>
                </label>
              </div>
            </div>
          </div>
          <div class="form-group">
            <div class="col-sm-offset-2 col-sm-10">
              <%= submit_tag 'Upload', :class => 'btn btn-default' %>
            </div>
          </div>
      <% end %>
    </div>
<% end %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
kaui-3.0.4 app/views/kaui/admin_tenants/_form_invoice_template.erb
kaui-3.0.2 app/views/kaui/admin_tenants/_form_invoice_template.erb
kaui-2.2.1 app/views/kaui/admin_tenants/_form_invoice_template.erb
kaui-3.0.1 app/views/kaui/admin_tenants/_form_invoice_template.erb