Sha256: 1aa005916e661a4404f9b913dd267704c97a2b0b2477bfc5854d655860c18359

Contents?: true

Size: 800 Bytes

Versions: 1

Compression:

Stored size: 800 Bytes

Contents

!!!
%html
  %head
    %title
      <%= app_name.titlecase %>

    = stylesheet_link_tag 'application', media: 'all'
    = javascript_include_tag 'application'
    = csrf_meta_tags

  %body
    = query_diet_widget(bad_count: 15) if Rails.env.development?

    .layout

      .layout__head
        %h2 <%= app_name.titlecase %>
      <%- if navigation -%>
        = render_navigation Navigation.<%= navigation.name(:variable) %>
      <%- end -%>
      <%- if authentication -%>
        - if signed_in?
          .current-user
            = link_to current_user.email, edit_user_path(current_user)
            = link_to 'Sign out', sign_out_path, method: :delete
      <%- end -%>

      .layout__main
        = render 'layouts/flashes'
        = yield

      .layout__tail
        powered by makandra

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
katapult-0.2.0 lib/generators/katapult/haml/templates/app/views/layouts/application.html.haml