Sha256: 7ea6fb8349b89d602b5358aba67d45e3b6ced776b8653cccef202a4258a12693
Contents?: true
Size: 857 Bytes
Versions: 1
Compression:
Stored size: 857 Bytes
Contents
<h2>Schemas</h2> <p>Drawing the Entity-Relationship Diagram</p> <div class='schemas'> <%= form_tag({}, method: :get, name: 'form_schema') do %> <table id='schema_table' class='schema_table'> <thead> <tr> <th>Schema</th> </tr> <tr class='bottom'> <th> <%= submit_tag :draw, class: 'bottom' %> </th> </tr> </thead> <tbody> <% @schemas.each do |schema| %> <tr> <td> <%= check_box :schemas, schema, {id: "check_#{schema}", checked: @domains.include?(schema), onclick: 'check_schema()'}, true, false %> <%= label_tag "check[#{schema}]", schema %> </td> </tr> <% end %> </tbody> </table> <% end %> </div> <div class='draw'> <% if @domains.present? %> <%= image_tag(@image_file) %> <% end %> </div>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
draw_erd-0.1.1 | app/views/draw_erd/diagram/index.html.erb |