Sha256: ca31e80da2a5e7f2d4ef25db2f277de1273d4ad609e99fb7ebcb875465e0d735

Contents?: true

Size: 653 Bytes

Versions: 1

Compression:

Stored size: 653 Bytes

Contents

<% css_class = '' %>
<% if session[:attempted_submit] && page_link.page.has_questions? %>
	<% css_class = page_link.page.complete?(@answer_sheet) ? 'complete' : 'incomplete' %>
<% end %>
<%= li_page_active_if(@presenter.active_page && page_link.page == @presenter.active_page, :id => page_link.dom_id + '-li', :class => css_class, :style => ('display:none' if @answer_sheet.question_sheet.hidden_pages(@answer_sheet).include?(page_link.page))) do %>
  <%= link_to_function(page_link.label, load_page_js(page_link), :id => page_link.dom_id + '-link', 'data-page-id' => page_link.dom_id, :class => 'page_link', :href => page_link.load_path) %>
<% end -%>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fe-0.0.4 app/views/fe/answer_sheets/_page_link.html.erb