
<div class="page-header">
 <ul class="breadcrumb">
  <li><a href="<%= root_path %>">Home</a></li>
  <li>Settings Membership Actions</li>
  <span style="float: right">
    <%= link_to 'New Settings Membership Action', new_settings_membership_action_path,:class => 'btn btn-primary btn-sm' %>
  </span>
 </ul>
</div>

<br>
<div class="card">
  <table class="table table-striped">
    <thead>
      <tr>
        <th>Membership type</th>
        <th>Is active</th>
        <th>Gateway communication type</th>
        <th>Gateway url</th>
        <th>Auth token</th>
        <th>Merchant account</th>
        <th>Created by</th>
        <th>Additional parameter</th>
        <th colspan="3"></th>
      </tr>
    </thead>

    <tbody>
      <% @settings_membership_actions.each do |settings_membership_action| %>
        <tr>
          <td><%= settings_membership_action.membership_type %></td>
          <td><%= settings_membership_action.is_active %></td>
          <td><%= settings_membership_action.gateway_communication_type %></td>
          <td><%= settings_membership_action.gateway_url %></td>
          <td><%= settings_membership_action.auth_token %></td>
          <td><%= settings_membership_action.merchant_account_id %></td>
          <td><%= settings_membership_action.created_by %></td>
          <td><%= settings_membership_action.additional_parameter %></td>
          <td><%= link_to 'Show', settings_membership_action_path(settings_membership_action) %></td>
          <td><%= link_to 'Edit', edit_settings_membership_action_path(settings_membership_action) %></td>
          <td><%= link_to 'Destroy', settings_membership_action_path(settings_membership_action), method: :delete, data: { confirm: 'Are you sure?' } %></td>
        </tr>
      <% end %>
    </tbody>
  </table>
</div>
