Sha256: d1d74631ec4ccbc401d9698883b57d29d02dcedd640fa9ea701d8a59753a2ff8
Contents?: true
Size: 425 Bytes
Versions: 132
Compression:
Stored size: 425 Bytes
Contents
<% model ||= form.object %> <% count ||= 1 %> <% color ||= "red" %> <% cancel_path ||= nil %> <% if model.persisted? || current_limits.can?(:create, model.class, count: count) %> <%= yield %> <% else %> <%= render "shared/limits/error", action: :create, model: model.class, count: count, color: color, cancel_path: cancel_path %> <fieldset class="form-wrapper pt-2" disabled> <%= yield %> </fieldset> <% end %>
Version data entries
132 entries across 132 versions & 1 rubygems