Sha256: 9375f549b197dcb5f9e4e9a9be73bb2f1914b672ed54189bbc61c2376bb03751

Contents?: true

Size: 666 Bytes

Versions: 1

Compression:

Stored size: 666 Bytes

Contents

- url_params = {:controller => 'accounts', :action => 'show', :id => params[:account_id] || params[:id]}
= paginated_section @bookings, :params => url_params.merge(:query => params[:query]) do
  = simple_form_for :bookings, :url => update_bookings_account_path do |f|
    %table.table.table-striped
      %thead
        %tr
          %th= t_attr :value_date, Booking
          %th= t_attr :title, Booking
          %th= t_attr :amount, Booking
          %th= t_attr :debit_account, Booking
          %th= t_attr :credit_account, Booking
      %tbody
        = render :partial => 'edit_booking', :collection => @bookings, :locals => {:f => f}

    = f.button :submit

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
has_accounts_engine-2.0.0 app/views/accounts/_edit_bookings.html.haml