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-11-08 00:11:15 +00:00
|
|
|
= render_cell 'locomotive/settings_menu', :show
|
2010-05-10 22:39:52 +00:00
|
|
|
|
2011-08-20 09:41:00 +00:00
|
|
|
- content_for :buttons do
|
|
|
|
- if can?(:manage, @site)
|
2011-11-08 14:34:25 +00:00
|
|
|
= local_action_button :export, new_export_url, :class => 'new'
|
|
|
|
= local_action_button :import, new_import_url, :class => 'new'
|
|
|
|
- if can?(:create, Locomotive::Account)
|
|
|
|
= local_action_button t('.new_membership'), new_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
|
|
|
|
2011-11-21 01:27:05 +00:00
|
|
|
= semantic_form_for @site, :url => current_site_url, :html => { :class => 'save-with-shortcut' } do |form|
|
2010-05-10 22:39:52 +00:00
|
|
|
|
2011-11-21 01:27:05 +00:00
|
|
|
= render 'form', :f => form
|
2010-07-21 23:56:42 +00:00
|
|
|
|
2011-11-08 00:11:15 +00:00
|
|
|
= render 'locomotive/shared/form_actions', :button_label => :update
|