Sha256: e2461700dd2e10b6a0e6d299720adbeb84e4688fbbbef7867cee47f91a47f91c

Contents?: true

Size: 472 Bytes

Versions: 1

Compression:

Stored size: 472 Bytes

Contents

<div class="buttons">
  <%= f.button :submit if can?(:modify, main_controller_name) %>

  <% if f.object.persisted? %>
    <%= link_to('CRC', registration_cadastral_certificates_path(creditor_id: resource.id),
                class: "button primary", 'data-disabled' => f.object.decorator.cant_have_crc_message) %>
  <% end %>

  <%= f.button :back %>

  <% if f.object.persisted? && can?(:destroy, main_controller_name) %>
    <%= f.button :destroy %>
  <% end %>
</div>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
unico-training-7.8.0 app/views/creditors/_form_buttons.html.erb