Sha256: c9a1cc125160790679917e120e792fb65ec030b59ed62b9ec17e5ae72737fa92

Contents?: true

Size: 887 Bytes

Versions: 1

Compression:

Stored size: 887 Bytes

Contents

!!!
%html
  %head
    = page_meta_for(:title)
    = csrf_meta_tags
    = render 'metas'
    = render 'favicon'
    = stylesheet_link_tag "<%= singular_name %>", media: "all", "data-turbolinks-track" => true
    = javascript_include_tag "<%= singular_name %>", "data-turbolinks-track" => true

    %link{href: Settings.application.name, rel: "copyright"}/
    %link{href: Settings.application.name, rel: "author"}/

  %body
    = render 'header'
    = render 'container'
    = render 'footer'
    = render 'analytics'

    -# turbolinks doesnt re-read <head> tag, thus we have to update them from <body>
    %meta{content: datetime_format_to_js(current_config.date_format), name: "date-format"}
    %meta{content: datetime_format_to_js(current_config.date_time_format), name: "date-time-format"}
    %meta{content: timezone_format_to_js(current_config.timezone), name: "timezone-format"}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
billet-0.0.1 lib/generators/billet/namespace/templates/views/crud_views/layouts/application.html.haml.erb