Sha256: f44775638ce0198ff69745a725b65caeab64d1e2a855cf3d4e824d2aaa5e42f2

Contents?: true

Size: 944 Bytes

Versions: 7

Compression:

Stored size: 944 Bytes

Contents

<% subtitle = content_for(:subtitle) %>

<%= render layout: "layouts/decidim/shared/layout_center", locals: { columns: 10 } do %>
  <header class="text-center py-10">
    <h1 class="title-decorator inline-block text-left md:mb-12">
      <%= t("title", scope: "layouts.decidim.user_profile") %>
      <%= " - #{subtitle}" if subtitle.present? %>
    </h1>
  </header>

  <div class="vertical-tabs">
    <nav aria-label="menu-vertical">
      <button id="dropdown-trigger-profile" data-open-md="true" data-component="dropdown" data-target="dropdown-menu-profile">
        <span><%= user_menu.active_item&.label || t("decidim.searches.filters.jump_to") %></span>
        <%= icon "arrow-down-s-line" %>
        <%= icon "arrow-up-s-line" %>
      </button>
      <ul id="dropdown-menu-profile" class="vertical-tabs__list">
        <%= user_menu.render %>
      </ul>
    </nav>

    <section>
      <%= yield %>
    </section>
  </div>
<% end %>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
decidim-core-0.30.0.rc2 app/views/layouts/decidim/shared/_layout_user_profile.html.erb
decidim-core-0.30.0.rc1 app/views/layouts/decidim/shared/_layout_user_profile.html.erb
decidim-core-0.29.2 app/views/layouts/decidim/shared/_layout_user_profile.html.erb
decidim-core-0.28.5 app/views/layouts/decidim/shared/_layout_user_profile.html.erb
decidim-core-0.29.1 app/views/layouts/decidim/shared/_layout_user_profile.html.erb
decidim-core-0.28.4 app/views/layouts/decidim/shared/_layout_user_profile.html.erb
decidim-core-0.29.0 app/views/layouts/decidim/shared/_layout_user_profile.html.erb