Sha256: 0886c6d6ad8f055565da8cdff66767fbeb7be976bdf931c253633937b9137607

Contents?: true

Size: 535 Bytes

Versions: 27

Compression:

Stored size: 535 Bytes

Contents

<% if parent.is_a?(Pageflow::Entry) %>
  <%= render 'pageflow/admin/entries/cannot_add_user', user: user, parent: parent, entity_type: entity_type, quota: quota %>
<% elsif parent.is_a?(User) %>
  <%= render "pageflow/admin/users/cannot_add_#{entity_type}", user: user, parent: parent, entity_type: entity_type %>
<% elsif parent.is_a?(Pageflow::Account) %>
  <%= t("pageflow.admin.account.cannot_add") %>
  <%= render "pageflow/admin/accounts/cannot_add_#{entity_type}", user: user, parent: parent, entity_type: entity_type %>
<%end%>

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
pageflow-15.1.1 app/views/pageflow/admin/users/_cannot_add.html.erb
pageflow-15.1.0 app/views/pageflow/admin/users/_cannot_add.html.erb
pageflow-15.1.0.rc0 app/views/pageflow/admin/users/_cannot_add.html.erb
pageflow-15.1.0.beta6 app/views/pageflow/admin/users/_cannot_add.html.erb
pageflow-15.1.0.beta5 app/views/pageflow/admin/users/_cannot_add.html.erb
pageflow-15.1.0.beta4 app/views/pageflow/admin/users/_cannot_add.html.erb
pageflow-15.1.0.beta3 app/views/pageflow/admin/users/_cannot_add.html.erb