2011-01-16 03:49:00 +00:00
|
|
|
- title link_to(@site.name.blank? ? @site.name_was : @site.name, '#', :rel => 'site_name', :title => t('.ask_for_name'), :class => 'editable')
|
2010-05-10 22:39:52 +00:00
|
|
|
|
|
|
|
- content_for :submenu do
|
2011-07-25 21:07:32 +00:00
|
|
|
= render_cell 'admin/settings_menu', :show
|
2011-08-17 02:23:14 +00:00
|
|
|
|
|
|
|
- content_for :actions do
|
|
|
|
= render_cell 'admin/site_locale_picker', :show, :site => current_site, :locale => I18n.site_locale
|
2010-05-10 22:39:52 +00:00
|
|
|
|
2011-06-26 23:02:48 +00:00
|
|
|
- if can?(:manage, @site)
|
|
|
|
- content_for :buttons do
|
2011-07-04 13:25:02 +00:00
|
|
|
= admin_button_tag :export, new_admin_export_url, :class => 'new'
|
2011-06-26 23:02:48 +00:00
|
|
|
= admin_button_tag :import, new_admin_import_url, :class => 'new'
|
|
|
|
= admin_button_tag t('.new_membership'), new_admin_membership_url, :class => 'new'
|
2010-05-10 22:39:52 +00:00
|
|
|
|
2010-07-21 23:56:42 +00:00
|
|
|
%p!= t('.help')
|
2010-05-10 22:39:52 +00:00
|
|
|
|
2010-12-14 17:00:12 +00:00
|
|
|
= semantic_form_for @site, :url => admin_current_site_url, :html => { :class => 'save-with-shortcut' } do |f|
|
2010-05-10 22:39:52 +00:00
|
|
|
|
|
|
|
= render 'form', :f => f
|
2010-07-21 23:56:42 +00:00
|
|
|
|
2010-05-10 22:39:52 +00:00
|
|
|
= render 'admin/shared/form_actions', :button_label => :update
|