1 <% htmloptions = {class: ''}.merge(htmloptions || {})
2 htmloptions[:class] += " btn-#{size}" rescue nil %>
3 <%= link_to_if_arvados_object object, { link_text: raw('Show <i class="fa fa-fw fa-arrow-circle-right"></i>') }, { class: 'btn btn-default ' + htmloptions[:class] } %>