From 9fba36489e10b119fab70c5354dc1ee378a1d178 Mon Sep 17 00:00:00 2001 From: Harry Bomrah Date: Tue, 23 Feb 2016 14:42:32 +0800 Subject: [PATCH] image video select --- app/views/admin/ad_images/_form.html.erb | 21 ++++++--------------- 1 file changed, 6 insertions(+), 15 deletions(-) diff --git a/app/views/admin/ad_images/_form.html.erb b/app/views/admin/ad_images/_form.html.erb index 64fcd9c..f0f44c4 100644 --- a/app/views/admin/ad_images/_form.html.erb +++ b/app/views/admin/ad_images/_form.html.erb @@ -26,7 +26,7 @@
<%= t("choose_type") %>
<%= - select_tag "ad_image[exchange_item]", options_for_select(@item,@item_choose), prompt: t('select'),:onchange => "chg(this.options[this.options.selectedIndex].value)" + select_tag "ad_image[exchange_item]", options_for_select(@item,@item_choose), prompt: t('select') %>
@@ -189,20 +189,11 @@ <%= f.submit t('submit'), class: 'btn btn-primary' %>