Sha256: 0156689c45cfa20313806a2e4894bb99b1deb5b7b8e8275d67f45712571975ec
Contents?: true
Size: 804 Bytes
Versions: 2
Compression:
Stored size: 804 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, {checked: @domains.include?(schema), onclick: 'check_schema()'}, true, false %> <%= schema %> </td> </tr> <% end %> </tbody> </table> <% end %> </div> <div class='draw'> <% if @domains.present? %> <%= image_tag(@image_file) %> <% end %> </div>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
draw_erd-0.1.0 | app/views/draw_erd/diagram/index.html.erb |
draw_erd-0.0.1 | app/views/draw_erd/diagram/index.html.erb |