Sha256: 0d7b2c867487342888311660c541a61de17a37e97c0d3d211280d797f020342b

Contents?: true

Size: 528 Bytes

Versions: 1

Compression:

Stored size: 528 Bytes

Contents

<% if element.question? && element.default_label? && element.label.present? && !element.hide_label? -%>
  <label for="<%= dom_id(element) %>" class="desc">
    <%= raw element.label(session[:locale]) %>
    <% if element.required?(@answer_sheet, @page) -%><span class="required"><%= _('required') %></span><% end -%>
    <%= tip(element.tooltip) if element.tooltip.present? %>
  </label>
<% end -%>

<% col ||= nil %>
<%= render :partial => 'fe/questions/' + element.ptemplate, :object => element, :locals => {:col => col} %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fe-1.0.0 app/views/fe/answer_pages/_element.html.erb