Sha256: f5829458154445afa9389f0e925011ee4604a5d6da62df2c417f3557b82531b3
Contents?: true
Size: 715 Bytes
Versions: 27
Compression:
Stored size: 715 Bytes
Contents
- resource = (@_effective_resource || Effective::Resource.new(controller_path)) - @resource = instance_variable_get('@' + resource.name) if resource.name = render_optional_partial 'show_before' - if @resource .row .col-12 .card.card-primary .card-header %h3.card-title= @resource.to_s .card-tools = resource_form_actions(@context.route_builder, @resource, for_action: action_name.to_sym) .card-body = render Olivander::Components::ResourceShowComponent.new(@resource, []) .card-footer.text-right = link_to 'Cancel', @_effective_resource.action_path(:index), class: 'btn btn-secondary' = render_optional_partial 'show_after'
Version data entries
27 entries across 27 versions & 1 rubygems