Sha256: 0afc60f4ad88573e4bd1c56ff9be85a5a98b3e36a8891b5307c9b6a6d931b934
Contents?: true
Size: 1.18 KB
Versions: 1
Compression:
Stored size: 1.18 KB
Contents
<% @flash.each do |key, value| %> <div class="<%= key %>"><%= value %></div> <% end %> <%= error_messages_for 'person' if @person %> <%= error_messages_for 'user' if @user %> <% if choices ||= false %> <!-- Here are updated all choices, watch out, javascript! --> <div class="choicesToUpdate" title="choicesToUpdate"> <%= choices.size %> <script language="JavaScript"> var choices_to_update = { <%= choices.collect { |c| "'elt_#{ c.elt_id }' : '#{ c.value }'" }.join(', ') %> }; updateChoices(choices_to_update); </script> </div> <% end %> <% if session[:person] %> <span class="logout"> <%= link_to_remote('[X]', :update => divId, :url => { :controller => 'account', :action => 'logout', :divId => divId }, :before => visual_effect(:SwitchOff, divId)+";resetChoices();", :complete => visual_effect(:BlindDown, divId)) %> </span> <% if session[:person].name and session[:person].name != '' %> <span class="author"> <<%= link_to session[:person].name, :controller => 'person', :action => 'show', :id => session[:person] %>> </span> <% end %> <% else %> <%= render :partial => '/account/login', :locals => { :divId => divId } %> <% end %>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
parlement-0.6 | app/views/account/_show.rhtml |