Sha256: 7c26e210bfa22554e35b2bf0eca4f7c01707d3df2e7e2cf3d4b965a56a51744f
Contents?: true
Size: 921 Bytes
Versions: 7
Compression:
Stored size: 921 Bytes
Contents
<% if create_work_presenter.many? %> <div class="col-xs-6 col-sm-3 heading-tile"> <%= link_to('#', data: { behavior: "select-work", target: "#worktypes-to-create", 'create-type' => 'single' }) do %> <span class="glyphicon glyphicon-upload"></span> <%= t("sufia.dashboard.create_work") %> <% end %> </div> <% else %> <div class="col-xs-6 col-sm-3 heading-tile"> <% create_work_presenter.first_model do |concern| %> <%= link_to(new_polymorphic_path([main_app, concern]), class: "item-option contextual-quick-classify #{dom_class(concern, 'new').gsub('_', '-')}", role: 'menuitem' ) do %> <span class="glyphicon glyphicon-upload"></span> <%= I18n.t("sufia.dashboard.create_work", work_type: concern.human_readable_type) %> <% end %> <% end %> </div> <% end %>
Version data entries
7 entries across 7 versions & 1 rubygems