Sha256: f65d97f8cc9ea7dc6803a7a0dfa84113c197d2a69041fb75a83bf2ce9ce426aa

Contents?: true

Size: 435 Bytes

Versions: 7

Compression:

Stored size: 435 Bytes

Contents

<%= content_tag(:div, class: 'pull-right') do %>
  <%= link_to('#top', id: 'top-link', class: 'btn btn-primary') do %>
    <% case icons %>
    <% when :glyphicons %>
      <%= content_tag(:span, nil, class: 'glyphicon glyphicon-arrow-up') %>
    <% when :font_awesome %>
      <%= content_tag(:i, nil, class: 'fas fa-arrow-up') %>
    <% else %>
      <%= content_tag(:span, "&#8963;".html_safe) %>
    <% end %>
  <% end %>
<% end %>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
cmor_cms-0.0.60.pre app/views/cmor/cms/application_view_helper/_link_to_top.html.erb
cmor_cms-0.0.59.pre app/views/cmor/cms/application_view_helper/_link_to_top.html.erb
cmor_cms-0.0.58.pre app/views/cmor/cms/application_view_helper/_link_to_top.html.erb
cmor_cms-0.0.57.pre app/views/cmor/cms/application_view_helper/_link_to_top.html.erb
cmor_cms-0.0.56.pre app/views/cmor/cms/application_view_helper/_link_to_top.html.erb
cmor_cms-0.0.55.pre app/views/cmor/cms/application_view_helper/_link_to_top.html.erb
cmor_cms-0.0.54.pre app/views/cmor/cms/application_view_helper/_link_to_top.html.erb