Sha256: 31990d81d907aed1bd5e2e5a4e616f9a3ab4c4e18780b8682e017e859294e832
Contents?: true
Size: 451 Bytes
Versions: 23
Compression:
Stored size: 451 Bytes
Contents
<%= link_to( I18n.t('other.add', model: "adminpanel/#{remote_model}".classify.constantize.display_name ), polymorphic_path( [:new, :"#{remote_model}"], model: @model.display_name, model_name: @model.name.demodulize.downcase, belongs_request: defined?(belongs_request) ), class: 'btn btn-info', id: "#{remote_model}-modal-link", :'data-target' => "#remote-form-modal", :'data-toggle' => 'modal', remote: true ) %>
Version data entries
23 entries across 23 versions & 1 rubygems