engine/app/views/admin/current_site/edit.html.haml

22 lines
850 B
Plaintext
Raw Normal View History

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