Sha256: 65ce4c6060a2addbae695ae8b9f86f1400deedf96ecc56820fd4947b6039e7d6
Contents?: true
Size: 921 Bytes
Versions: 10
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("hyrax.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("hyrax.dashboard.create_work", work_type: concern.human_readable_type) %> <% end %> <% end %> </div> <% end %>
Version data entries
10 entries across 10 versions & 2 rubygems