From d3dfabd66a8eb184dcca4f76122ec1f0592d7e58 Mon Sep 17 00:00:00 2001 From: yamin Date: Mon, 23 Oct 2017 13:38:36 +0630 Subject: [PATCH] delte ui change --- app/views/settings/accounts/index.html.erb | 11 +------- app/views/settings/accounts/show.html.erb | 25 +++++++++++++------ .../settings/membership_actions/show.html.erb | 9 ++++++- 3 files changed, 27 insertions(+), 18 deletions(-) diff --git a/app/views/settings/accounts/index.html.erb b/app/views/settings/accounts/index.html.erb index abaea5b6..d2a1c9a4 100755 --- a/app/views/settings/accounts/index.html.erb +++ b/app/views/settings/accounts/index.html.erb @@ -39,17 +39,8 @@ <%= account.bonus %> <%= account.rebate %> + <%= link_to t("views.btn.show"), settings_account_path(account),:class => 'btn btn-info btn-sm waves-effect' %> <%= link_to t("views.btn.edit"), edit_settings_account_path(account),:class => 'btn btn-primary btn-sm waves-effect' %> - - - - - <% end %> diff --git a/app/views/settings/accounts/show.html.erb b/app/views/settings/accounts/show.html.erb index a9142040..8321c487 100755 --- a/app/views/settings/accounts/show.html.erb +++ b/app/views/settings/accounts/show.html.erb @@ -1,11 +1,13 @@
@@ -34,7 +36,16 @@ <%= @settings_account.rebate %> - <%= link_to t("views.btn.edit"), edit_settings_account_path(@settings_account, @settings_account),:class => 'btn btn-primary btn-lg waves-effect' %> + <%= link_to t("views.btn.edit"), edit_settings_account_path(@settings_account, @settings_account),:class => 'btn btn-primary btn-lg waves-effect' %> + + + + diff --git a/app/views/settings/membership_actions/show.html.erb b/app/views/settings/membership_actions/show.html.erb index 5729e60d..87bb17ba 100755 --- a/app/views/settings/membership_actions/show.html.erb +++ b/app/views/settings/membership_actions/show.html.erb @@ -48,7 +48,14 @@ <%= link_to t("views.btn.edit"), edit_settings_membership_action_path(@settings_membership_action),:class => 'btn btn-primary btn-sm waves-effect' %> - <%= link_to t("views.btn.delete"), settings_membership_action_path(@settings_membership_action), method: :delete, data: { confirm: 'Are you sure?' },:class => 'btn btn-danger btn-sm waves-effect', :disabled => "disabled" %> + + +