update setting admin pages
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
|
||||
<div class="row">
|
||||
<div class="col-xs-12 col-sm-12 col-md-9 col-lg-9">
|
||||
<div class="col-xs-12 col-sm-12 col-md-8 col-lg-8">
|
||||
<%= simple_form_for([:settings, @settings_payment_method_setting]) do |f| %>
|
||||
<%= f.error_notification %>
|
||||
|
||||
<div class="form-inputs">
|
||||
<div class="form-inputs p-l-15">
|
||||
<%= f.input :payment_method %>
|
||||
<%= f.input :is_active %>
|
||||
<%= f.input :gateway_communication_type %>
|
||||
@@ -14,12 +14,12 @@
|
||||
<%= f.input :additional_parameters %>
|
||||
</div>
|
||||
|
||||
<div class="form-actions">
|
||||
<div class="form-actions p-l-15">
|
||||
<%= f.submit "Submit",:class => 'btn btn-primary btn-lg waves-effect' %>
|
||||
</div>
|
||||
<% end %>
|
||||
</div>
|
||||
<div class="col-xs-12 col-sm-12 col-md-3 col-lg-3">
|
||||
<div class="col-xs-12 col-sm-12 col-md-4 col-lg-4">
|
||||
<div class="card">
|
||||
<div class="body">
|
||||
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
|
||||
|
||||
@@ -22,9 +22,9 @@
|
||||
<th>Payment method</th>
|
||||
<th>Is active</th>
|
||||
<th>Gateway Comm type</th>
|
||||
<th>Gateway url</th>
|
||||
<th>Gateway url</th><!--
|
||||
<th>Auth token</th>
|
||||
<th>Merchant account</th>
|
||||
<th>Merchant account</th> -->
|
||||
<th>Actions</th>
|
||||
</tr>
|
||||
</thead>
|
||||
@@ -35,9 +35,9 @@
|
||||
<td><%= settings_payment_method_setting.payment_method %></td>
|
||||
<td><%= settings_payment_method_setting.is_active %></td>
|
||||
<td><%= settings_payment_method_setting.gateway_communication_type %></td>
|
||||
<td><%= settings_payment_method_setting.gateway_url %></td>
|
||||
<td><%= settings_payment_method_setting.gateway_url %></td><!--
|
||||
<td><%= settings_payment_method_setting.auth_token %></td>
|
||||
<td><%= settings_payment_method_setting.merchant_account_id %></td>
|
||||
<td><%= settings_payment_method_setting.merchant_account_id %></td> -->
|
||||
<td>
|
||||
<%= link_to t("views.btn.show"), settings_payment_method_setting_path(settings_payment_method_setting),:class => 'btn btn-info btn-sm waves-effect' %>
|
||||
<%= link_to t("views.btn.edit"), edit_settings_payment_method_setting_path(settings_payment_method_setting),:class => 'btn btn-primary btn-sm waves-effect' %>
|
||||
|
||||
@@ -9,13 +9,13 @@
|
||||
</ol>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="row">
|
||||
<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
|
||||
<div class="card">
|
||||
<table class="table table-striped">
|
||||
<tr>
|
||||
<div class="col-xs-12 col-sm-12 col-md-8 col-lg-8">
|
||||
<table class="table table-">
|
||||
<!-- <tr>
|
||||
<td><p id="notice"><%= notice %></p></td>
|
||||
</tr>
|
||||
</tr> -->
|
||||
|
||||
<tr>
|
||||
<td><strong>Payment method:</strong></td>
|
||||
@@ -61,6 +61,15 @@
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-xs-12 col-sm-12 col-md-4 col-lg-4">
|
||||
<div class="card">
|
||||
<div class="body">
|
||||
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
|
||||
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
|
||||
quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
|
||||
consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user