<%= stylesheet_link_tag "application", media: "all", "data-turbolinks-track" => true %> <%= javascript_include_tag "application", "data-turbolinks-track" => true %> <%= csrf_meta_tags %> <% # init session variables session['service.host'] = Toaster::Config.get("service.host") if "#{session['service.host']}".empty? session['service.port'] = Toaster::Config.get("service.port") if "#{session['service.port']}".empty? session['db.host'] = Toaster::Config.get("db.host") if "#{session['db.host']}".empty? session['db.port'] = Toaster::Config.get("db.port") if "#{session['db.port']}".empty? %>

ToASTER[beta]

<% if user_signed_in? %>
User: <%= current_user.email %>
<%= link_to "Sign out", destroy_user_session_path, :method => :delete %>
<% end %>
<% flash.each do |name, msg| if msg.kind_of?(Array) && msg.size == 1 msg = msg[0] end %>
<% if msg.kind_of?(Array) %>
    <% msg.each do |msg1| %>
  • <%= msg1 %>
  • <% end %>
<% else %> <%= msg %> <% end %>
<% end %>
<%= yield %>