20 lines
756 B
Plaintext
20 lines
756 B
Plaintext
- 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
|
|
= render_cell 'locomotive/settings_menu', :show
|
|
|
|
- content_for :buttons do
|
|
- if can?(:manage, @site)
|
|
= 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'
|
|
|
|
%p!= t('.help')
|
|
|
|
= semantic_form_for @site, :url => current_site_url, :html => { :class => 'save-with-shortcut' } do |f|
|
|
|
|
= render 'form', :f => f
|
|
|
|
= render 'locomotive/shared/form_actions', :button_label => :update
|