add details for button in site info

This commit is contained in:
thomaschen authored and saurabhbhatia committed 2013-12-24 16:42:37 +08:00
1 parent f27784d020
commit ebeb243249
3 files changed
+16 -7

No files matched your search

+6 -7
View File
@@ -44,12 +44,12 @@
<% end %>
<% end %>
<!-- Always shoe in the title bar -->
<!-- Always show in the title bar -->
<div class="control-group">
<label class="control-label muted"><%= t :always_display_title %>
</label>
<div class="controls">
<%= f.check_box :title_always_on, :class => "toggle-check" %>
<%= f.check_box :title_always_on, :class => "toggle-check", :data => { :title => t('site_title_always_display') } %>
</div>
</div>
@@ -70,7 +70,7 @@
<!-- Sitemap menu in Header -->
<div class="control-group">
<label class="control-label muted">Sitemap menu in header
<label class="control-label muted"><%= t :sitemap_menu_in_header %>
</label>
<div class="controls">
<%= f.check_box :sitemap_menu_in_header, :class => "toggle-check" %>
@@ -96,17 +96,16 @@
<!-- Terms of Use -->
<div class="control-group">
<label class="control-label muted">Terms of Use
</label>
<label class="control-label muted"><%= t('site.terms_of_use')%></label>
<div class="controls">
<%= f.check_box :enable_terms_of_use, :class => "toggle-check" %>
<%= f.check_box :enable_terms_of_use, :class => "toggle-check", :data => { :title => t('site.terms_display_in_footer') } %>
</div>
</div>
<!-- CKeditor Site Footer -->
<% @site_in_use_locales.each do |locale|%>
<%= content_tag :div, :class => "tab-pane fade #{active_when_current_locale_eq locale} #{locale}" do %>
<label class="control-label muted"><%= t('site.default_terms_of_use')%></label>
<label class="control-label muted"><%= t('site.terms_of_use_content')%></label>
<div class="controls">
<div class="textarea">
<%= f.fields_for :terms_of_use_translations do |f| %>