fix link and outlink
This commit is contained in:
parent
53fb0e12ab
commit
707dd3a6a4
|
@ -61,6 +61,22 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!-- Link -->
|
||||
<div class="control-group">
|
||||
<label class="control-label muted"><%= t(:link) %></label>
|
||||
<div class="controls">
|
||||
<%= f.text_field :out_link, placeholder: t('ad_banner.enter_url') %>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="control-group">
|
||||
<label class="control-label muted"><%= t('ad_banner.type') %></label>
|
||||
<div class="controls">
|
||||
<%= f.select :link_open, AdImage::LINK_OPEN_TYPES.map{|a| [t("ad_banner.#{a}"), a]} %>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="exchange_item_2" style="display:none">
|
||||
|
@ -112,25 +128,13 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Link -->
|
||||
<div class="control-group">
|
||||
<label class="control-label muted"><%= t(:link) %></label>
|
||||
<div class="controls">
|
||||
<%= f.text_field :out_link, placeholder: t('ad_banner.enter_url') %>
|
||||
</div>
|
||||
</div>
|
||||
<div id="exchange_item_2" style="display:none">
|
||||
|
||||
<div class="control-group">
|
||||
<label class="control-label muted"><%= t('ad_banner.type') %></label>
|
||||
<div class="controls">
|
||||
<%= f.select :link_open, AdImage::LINK_OPEN_TYPES.map{|a| [t("ad_banner.#{a}"), a]} %>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<!-- Language Tabs -->
|
||||
<ul class="nav nav-pills language-nav">
|
||||
<% @site_in_use_locales.each_with_index do |locale, i| %>
|
||||
|
|
Loading…
Reference in New Issue