<commit_before>- content_for :page_title do
  %h1
    = @enterprise.name
    %span.small
      (
      = enterprise_type_name(@enterprise)
      )

- content_for :page_actions do
  :javascript
    function toggleType(){
      $("#type_selection").slideToggle()
    }
  #type_button
    %button#toggle_type{ onClick: 'toggleType()' } Change type


#type_selection{ hidden: true }
  = render partial: "change_type_form"

#message
  Message bar

.row
  .alpha.seven.columns
    See your profile live on the Open Food Network map.
    %br/
    -# Can we pass an anchor here to zoom to our enterprise?
    = link_to "#{@enterprise.name} live", main_app.map_path

  .two.columns

  .seven.columns.omega
    Change or tweak any of the details of your profile
    %br/
    = link_to "Manage #{@enterprise.name}", main_app.edit_admin_enterprise_path(@enterprise)


.row
  .alpha.seven.columns
    - if can? :admin, Spree::Product
      Add and manage products
      %br/
      = link_to "Manage products", bulk_edit_admin_products_path

  .two.columns

  .seven.columns.omega
    - if can? :admin, OrderCycle
      Add and manage order cycles
      %br/
      = link_to "Manage order cycles", main_app.admin_order_cycles_path<commit_msg>Remove whitespace, add alert box<commit_after>- content_for :page_title do
  %h1
    = @enterprise.name
    %span.small<
      = "(#{enterprise_type_name(@enterprise)})"

- content_for :page_actions do
  :javascript
    function toggleType(){
      $("#type_selection").slideToggle()
    }
  #type_button
    %button#toggle_type{ onClick: 'toggleType()' } Change type


#type_selection{ hidden: true }
  = render partial: "change_type_form"

.alert-box{"data-alert" => ""}
  Alert box. Timely and contextual messages go here. Should animate in and be closeable.
  %a.close{:href => "#"} ×
  

.row
  .alpha.seven.columns
    See your profile live on the Open Food Network map.
    %br/
    -# Can we pass an anchor here to zoom to our enterprise?
    = link_to "#{@enterprise.name} live", main_app.map_path

  .two.columns

  .seven.columns.omega
    Change or tweak any of the details of your profile
    %br/
    = link_to "Manage #{@enterprise.name}", main_app.edit_admin_enterprise_path(@enterprise)


.row
  .alpha.seven.columns
    - if can? :admin, Spree::Product
      Add and manage products
      %br/
      = link_to "Manage products", bulk_edit_admin_products_path

  .two.columns

  .seven.columns.omega
    - if can? :admin, OrderCycle
      Add and manage order cycles
      %br/
      = link_to "Manage order cycles", main_app.admin_order_cycles_path
{'fraction_non_alphanumeric': 0.10755589822667695, 'fraction_numerical': 0.0007710100231303007, 'mean_word_length': 3.0866141732283463, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4045107', 'n_tokens_mistral': 856, 'n_tokens_neox': 836, 'n_words': 231}