Sha256: 0781ac6442174264b7f68293941940b4ac6174a3ccff27b422773469b810c471

Contents?: true

Size: 667 Bytes

Versions: 2

Compression:

Stored size: 667 Bytes

Contents

<div class="ui modal" id="new_refund_modal">
  <i class="close icon"></i>
  <div class="ui blue header">Refund</div>
  <div class="content">
    <%= render 'logs_table' %>
  </div>
  <div class="ui divider"></div>
  <div class="content">
    <%= form_with model: @refund, url: work_refunds_path, method: 'post' do |f| %>
      <%= hidden_field_tag :order_id, @order.id %>
      <%= f.text_field :order_amount, label: 'Refund Amount:', placeholder: '$' %>
      <%= f.text_area :comment, label: 'Comment:' %>
      <%= f.select :type, options_for_select(Refund.options_i18n(:type), @refund.type), label: 'Type: ' %>
      <%= f.submit %>
    <% end %>
  </div>

</div>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rails_trade-0.0.2 app/views/trade/admin/refunds/_new.html.erb
rails_trade-0.0.1 app/views/rails_trade_admin/refunds/_new.html.erb