Sha256: 51e20c1b00b7b30551d933aaed92d3783c746ff71ebd45634b1564312adae127

Contents?: true

Size: 888 Bytes

Versions: 5

Compression:

Stored size: 888 Bytes

Contents

<%= form_for([@contract, @signature], html: { class: 'fine_print' }) do |f| %>
  <% if @signature.errors.any? %>
    <div id='error_explanation' class='fine_print errors'>
      <h4 class='fine_print heading'>
        <%= t 'fine_print.error', count: @signature.errors.count %>
      </h4>

      <ul>
        <% @signature.errors.full_messages.each do |msg| %>
          <li><%= msg %></li>
        <% end %>
      </ul>
    </div>
  <% end %>

  <div class='field'>
    <%= f.label :accept,
                t('fine_print.signature.actions.accept'),
                class: 'fine_print' %>
    <%= check_box_tag :signature_accept, class: 'fine_print check_box' %>
  </div>

  <br>

  <div class='actions'>
    <%= f.submit t('fine_print.signature.actions.sign'),
                 class: 'fine_print submit',
                 data: { disable_with: 'Please wait...' } %>
  </div>
<% end %>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
fine_print-6.0.1 app/views/fine_print/signatures/_form.html.erb
fine_print-6.0.0 app/views/fine_print/signatures/_form.html.erb
fine_print-5.0.0 app/views/fine_print/signatures/_form.html.erb
fine_print-4.0.1 app/views/fine_print/signatures/_form.html.erb
fine_print-4.0.0 app/views/fine_print/signatures/_form.html.erb