Sha256: 1016574623daa2161c1cf1fdfdee4d4cdabb01f64875c9355ea9f662ad14b5be

Contents?: true

Size: 856 Bytes

Versions: 4

Compression:

Stored size: 856 Bytes

Contents

<!DOCTYPE html>
<html>
<head>
  <title>Carload</title>
  <%= stylesheet_link_tag    'carload/dashboard', media: 'all' %>
  <%= javascript_include_tag 'carload/dashboard' %>
  <%= csrf_meta_tags %>
</head>
<body>

  <div id='main-container'>
    <div id='top-nav-buttons' class='center'>
      <div class='btn-group' role='group'>
        <%= link_to t('carload.action.back_to_root'), root_path, class: 'btn btn-default' %>
        <% Dashboard.models.keys.each do |model| %>
          <%= link_to t("activerecord.models.#{model}"), dashboard_index_path(model),
            class: "#{@model_name == model ? 'active' : ''} btn btn-default" %>
        <% end %>
      </div>
    </div>

    <div id='main-content'>
      <%= yield %>
    </div>

    <footer class='center'>
      <%= raw t('carload.footer.message') %>
    </footer>
  </div>

</body>
</html>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
carload-0.2.2 app/views/layouts/carload/dashboard.html.erb
carload-0.2.1 app/views/layouts/carload/dashboard.html.erb
carload-0.2.0 app/views/layouts/carload/dashboard.html.erb
carload-0.1.0 app/views/layouts/carload/dashboard.html.erb