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