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-17.0.4 app/views/pageflow/admin/users/_cannot_add.html.erb
pageflow-17.0.3 app/views/pageflow/admin/users/_cannot_add.html.erb
pageflow-17.0.2 app/views/pageflow/admin/users/_cannot_add.html.erb
pageflow-17.0.1 app/views/pageflow/admin/users/_cannot_add.html.erb
pageflow-17.0.0 app/views/pageflow/admin/users/_cannot_add.html.erb
pageflow-16.2.0 app/views/pageflow/admin/users/_cannot_add.html.erb
pageflow-16.1.0 app/views/pageflow/admin/users/_cannot_add.html.erb
pageflow-16.0.0 app/views/pageflow/admin/users/_cannot_add.html.erb
pageflow-15.8.0 app/views/pageflow/admin/users/_cannot_add.html.erb
pageflow-15.7.1 app/views/pageflow/admin/users/_cannot_add.html.erb
pageflow-15.7.0 app/views/pageflow/admin/users/_cannot_add.html.erb
pageflow-15.6.1 app/views/pageflow/admin/users/_cannot_add.html.erb
pageflow-15.6.0 app/views/pageflow/admin/users/_cannot_add.html.erb
pageflow-15.5.0 app/views/pageflow/admin/users/_cannot_add.html.erb
pageflow-15.4.0 app/views/pageflow/admin/users/_cannot_add.html.erb
pageflow-15.3.0 app/views/pageflow/admin/users/_cannot_add.html.erb
pageflow-15.2.2 app/views/pageflow/admin/users/_cannot_add.html.erb
pageflow-15.2.1 app/views/pageflow/admin/users/_cannot_add.html.erb
pageflow-15.2.0 app/views/pageflow/admin/users/_cannot_add.html.erb
pageflow-15.1.2 app/views/pageflow/admin/users/_cannot_add.html.erb