<% # This is the main template for the application %> <%= @webpage_title %> <% if @webpage_description -%> <% end -%> <%= stylesheet_link_tag('main') %> <%= stylesheet_link_tag('print', :media => 'print') %> <%= javascript_include_tag :defaults %> <%= javascript_include_tag 'behaviour' %> <% @dynamic_code.each_value do |code| -%> <%= code %> <% end -%> <% if @onload_js_code -%> <% end -%>

<% if current_user %> <%= current_user.fullname %> <%= link_to 'Logout', :controller => 'account', :action => 'logout' %>
<%= link_to 'My Account', :controller => 'account', :action => 'update' %> <% else %> <%= link_to 'Login', :controller => 'account', :action => 'login' %> to your account
<%= link_to 'Create New Account', :controller => 'account', :action => 'signup' %> <% end %>

Simbiome is a curated, online electronic resource that organizes and presents relevant resources for physics-based simulation of biomedical structures and related entities in biology and life sciences.

<%= display_tabs %>
<%= start_form_tag :controller=> 'search', :action => 'results' %>

Search <%= SITE_TITLE %>: <%= text_field_tag "search_terms", nil, {:class => 'search'} %> <%= submit_tag "Search", {:class => 'submit'} %> <%= link_to 'Advanced', {:controller => 'search'}, :class => "grey" %>

<%= end_form_tag %> <%= link_to 'List all Resources',{ :controller => 'resource', :action => 'list'}, {:class => 'submit'} -%>
<% if @flash[:notice] %>
<%= @flash[:notice] %>

<% end %> <%= @content_for_layout %>