Sha256: 7f41353b28e934ea5afd48ecbcb0c337b6d24a3f17d894841eae8e9991777d12

Contents?: true

Size: 759 Bytes

Versions: 58

Compression:

Stored size: 759 Bytes

Contents

.expense_gun
  = horizontal_form_for @expense, as: :expense do |f|
    .panel.panel-default
      .panel-heading
        .pull-right
          = link_to_add_association t("expense_gun.expense_line.actions.create"), f, :expense_lines, class: "btn btn-xs btn-success", id: "add-new-line", "data-association-insertion-node" => "#expense-lines", "data-association-insertion-method" => "append"
        .panel-title = @expense.t

      .panel-body
        .row
          .col-md-6
            = f.input :name
          .col-md-6
            = f.input :date, as: :string, input_html: {type: :date}

    #expense-lines
      = f.simple_fields_for :expense_lines do |line_form|
        = render "expense_line_fields", f: line_form

    = form_buttons back_url: false

Version data entries

58 entries across 58 versions & 1 rubygems

Version Path
dorsale-3.18.0 app/views/dorsale/expense_gun/expenses/_form.html.slim
dorsale-3.17.0 app/views/dorsale/expense_gun/expenses/_form.html.slim
dorsale-3.16.0 app/views/dorsale/expense_gun/expenses/_form.html.slim
dorsale-3.15.0 app/views/dorsale/expense_gun/expenses/_form.html.slim
dorsale-3.14.11 app/views/dorsale/expense_gun/expenses/_form.html.slim
dorsale-3.14.10 app/views/dorsale/expense_gun/expenses/_form.html.slim
dorsale-3.14.9 app/views/dorsale/expense_gun/expenses/_form.html.slim
dorsale-3.14.8 app/views/dorsale/expense_gun/expenses/_form.html.slim
dorsale-3.14.7 app/views/dorsale/expense_gun/expenses/_form.html.slim
dorsale-3.14.6 app/views/dorsale/expense_gun/expenses/_form.html.slim
dorsale-3.14.5 app/views/dorsale/expense_gun/expenses/_form.html.slim
dorsale-3.14.4 app/views/dorsale/expense_gun/expenses/_form.html.slim
dorsale-3.14.3 app/views/dorsale/expense_gun/expenses/_form.html.slim
dorsale-3.14.2 app/views/dorsale/expense_gun/expenses/_form.html.slim
dorsale-3.14.1 app/views/dorsale/expense_gun/expenses/_form.html.slim
dorsale-3.14.0 app/views/dorsale/expense_gun/expenses/_form.html.slim
dorsale-3.13.0 app/views/dorsale/expense_gun/expenses/_form.html.slim
dorsale-3.12.0 app/views/dorsale/expense_gun/expenses/_form.html.slim
dorsale-3.11.0 app/views/dorsale/expense_gun/expenses/_form.html.slim
dorsale-3.10.3 app/views/dorsale/expense_gun/expenses/_form.html.slim