---
url: /account
name: Account
description: Allows a logged in user to edit their account.
action: shop:login
template: default
published: true
---
<h1>Account</h1>
{% if customer %}
  {{ partial('account-settings') }}
{% else %}
  {{ partial('register') }}
  {{ partial('login') }}
{% endif %}

---
url: /account
name: Account
description: Allows a logged in user to edit their account.
action: shop:login
template: default
published: true
---
<h1>Account</h1>
{% if customer %}
  {{ partial('account-settings') }}
{% else %}
  <ul class="accordion" data-accordion>
    <li class="accordion-item is-active" data-accordion-item>
      <a href="#" class="accordion-title">Login</a>
      <div class="accordion-content" data-tab-content>
        {{ partial('login') }}
      </div>
    <li class="accordion-item" data-accordion-item>
      <a href="#" class="accordion-title">Register</a>
      <div class="accordion-content" data-tab-content>
        {{ partial('register') }}
      </div>
  </ul>
{% endif %}

Put login and register in to an accordion.
Put login and register in to an accordion.
