Sha256: 65e89588c15d0603d0f06a87208882cfa875de52c7004cb1ef26fd507df80867

Contents?: true

Size: 841 Bytes

Versions: 3

Compression:

Stored size: 841 Bytes

Contents

<h2>Schemas</h2>
<p>Drawing the State Machine 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>
          <%= radio_button 'check', 'schema', schema, {id: "check_#{schema}", checked: @schema == schema,
              onclick: 'check_schema()'} %>
          <%= label_tag "check[#{schema}]", schema %>
        </td>
      </tr>
      <% end %>
    </tbody>
  </table>
  <% end %>
</div>

<div class='draw'>
  <% if @schema.present? %>
  <%= image_tag(@image_file) %>
  <% end %>
</div>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
draw_smd-0.1.1 app/views/draw_smd/diagram/index.html.erb
draw_smd-0.1.0 app/views/draw_smd/diagram/index.html.erb
draw_smd-0.0.1 app/views/draw_smd/diagram/index.html.erb