unepwcmc/SAPI

View on GitHub
app/views/layouts/taxon_concepts.html.erb

Summary

Maintainability
Test Coverage
<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title>Species+ Admin Panel</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="">

    <!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
    <!--[if lt IE 9]>
    <script src="//html5shim.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->

    <%= stylesheet_link_tag    "admin" %>
    <%= javascript_include_tag "admin" %>
    <%= csrf_meta_tags %>
    <%= csp_meta_tag %>
    <script type="text/javascript">
      window.editorClass = '<%= controller.controller_name %>'
    </script>
  </head>
  <body>
    <div class="navbar navbar-fixed-top">
      <%= render 'shared/topbar' %>
    </div>

    <div class="container">
      <div class="row-fluid">
        <div class="span12">
          <%= render 'admin/taxon_concepts/search' %>
          <%= render 'shared/alerts' %>
          <div id="basic-info">
            <%= render 'admin/taxon_concepts/basic_info' %>
          </div>
          <% unless @taxon_concept.is_synonym? || @taxon_concept.is_hybrid? || @taxon_concept.is_trade_name? %>
            <%= yield %>
          <% end %>
        </div><!--/span-->
      </div><!--/row-->
      <hr>
      <footer>
        <p>&copy; UNEP-WCMC <%= Date.today.year %></p>
      </footer>
    </div><!--/.fluid-container-->
  </body>
</html>