Sha256: 49571a8639159f25d95b002f1049d90dd1a86f97207ef18d4f7eb32071bc6b86

Contents?: true

Size: 810 Bytes

Versions: 3

Compression:

Stored size: 810 Bytes

Contents

<% # Clients of this partial must supply the following variables:
   # agreements
   # user
   # notice
   #
   # Additionally, they can override the following variables:
   width ||= 640
   height ||= 480 %>

<%= stylesheet_link_tag 'fine_print/application' %>
<%= javascript_include_tag 'fine_print/dialog' %>

<% agreements.each_with_index do |agreement, index| %>
  <div id="<%= "fine_print_dialog_#{index}" %>" title="<%= agreement.name %>" class="fine_print agreement dialog">
    <%= render :partial => 'fine_print/agreements/agreement', :locals => {
        :agreement => agreement,
        :index => index,
        :user => user,
        :notice => notice,
        :remote => true } %>
  </div>

  <script>
    fine_print_init_dialog(<%= index %>, <%= width %>, <%= height %>);
  </script>
<% end %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
fine_print-0.1.1 app/views/fine_print/agreements/_dialog.html.erb
fine_print-0.1.0 app/views/fine_print/agreements/_dialog.html.erb
fine_print-0.0.1 app/views/fine_print/agreements/_dialog.html.erb