Add i18n for site_info.
Add always display site title. Changes for menu in front-end
This commit is contained in:
1 parent
e52119e258
commit
8b61314cc4
6 files changed
+47
-37
No files matched your search
@@ -12,28 +12,29 @@
|
||||
</li>
|
||||
</ul>
|
||||
<div class="tab-content">
|
||||
<%= f.check_box :title_always_on %> <%= t 'admin.always_display_title' %>
|
||||
<% @site_valid_locales.each do |locale|%>
|
||||
<%= content_tag :div, :class => "tab-pane #{active_when_current_locale_eq locale}", :id => "#{locale}" do %>
|
||||
<div>
|
||||
<%= t :title %>
|
||||
<%= t 'admin.site_title' %>
|
||||
<%= f.fields_for :title, @site.title do |f| %>
|
||||
<%= f.text_field locale %>
|
||||
<% end %>
|
||||
</div>
|
||||
<div>
|
||||
<%= t :keywords %>
|
||||
<%= t 'admin.keywords' %>
|
||||
<%= f.fields_for :keywords, @site.keywords do |f| %>
|
||||
<%= f.text_field locale %>
|
||||
<% end %>
|
||||
</div>
|
||||
<div>
|
||||
<%= t :description %>
|
||||
<%= t 'admin.site_description' %>
|
||||
<%= f.fields_for :description, @site.description do |f| %>
|
||||
<%= f.text_field locale %>
|
||||
<% end %>
|
||||
</div>
|
||||
<div>
|
||||
<%= t :footer %>
|
||||
<%= t 'admin.site_footer' %>
|
||||
<%= f.fields_for :footer, @site.footer do |f| %>
|
||||
<%= f.text_area locale, :class => "tinymce_textarea" %>
|
||||
<% end %>
|
||||
|
||||
Reference in new issue
Block a user