Sha256: 7bb17c214bfdfcd80931edeb1ef0a3dbb788e75530a8835609346770f7110166

Contents?: true

Size: 1.72 KB

Versions: 8

Compression:

Stored size: 1.72 KB

Contents

<table id="func_create_table" border="0" style="margin-left:2em;">
  <tr>
    <th width="80em">Func</th>
    <td><%= text_field_tag '[methods][' + @migration_method.name + '][funcs][][name]', 'create_table', :readonly => true %></td>
    <td><%= text_field_tag '[methods][' + @migration_method.name + '][funcs][][table_name]', @migration_func.name, :readonly => true %></td>
    <td><%= check_box_tag '[methods][' + @migration_method.name + '][funcs][][delete]', true, false %>delete </td>
  </tr>
  <tr>
    <td colspan="4">
      <table border="0" style="margin-left:2em;">
        <tr>
          <th>create pk</th>
          <th>pk name</th>
          <th>options</th>
          <th>temporary</th>
          <th>force</th>
        </tr>
        <tr>
          <td><%= check_box_tag '[methods][' + @migration_method.name + '][funcs][][id]', true, @migration_func.option.id.nil? ? '' : @migration_func.option.id %></td>
          <td><%= text_field_tag '[methods][' + @migration_method.name + '][funcs][][primary_key]', @migration_func.option.primary_key.nil? ? "'id'" : @migration_func.option.primary_key %></td>
          <td><%= text_field_tag '[methods][' + @migration_method.name + '][funcs][][options]', @migration_func.option.options.nil? ? "''" : @migration_func.option.options %></td>
          <td><%= check_box_tag '[methods][' + @migration_method.name + '][funcs][][temporary]', true, @migration_func.option.temporary %></td>
          <td><%= check_box_tag '[methods][' + @migration_method.name + '][funcs][][force]', true, @migration_func.option.force %></td>
        </tr>
        <tr>
          <td colspan="5">
            <%= show_columns @migration_func.columns %>
          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
visual_migrate-4.1.7.0 app/views/layouts/visual_migrate/_func_create_table.html.erb
visual_migrate-4.1.0.0 app/views/layouts/visual_migrate/_func_create_table.html.erb
visual_migrate-4.0.2.0 app/views/layouts/visual_migrate/_func_create_table.html.erb
visual_migrate-4.0.1.6 app/views/layouts/visual_migrate/_func_create_table.html.erb
visual_migrate-4.0.1.5 app/views/layouts/visual_migrate/_func_create_table.html.erb
visual_migrate-4.0.1.4 app/views/layouts/visual_migrate/_func_create_table.html.erb
visual_migrate-4.0.1.3 app/views/layouts/visual_migrate/_func_create_table.html.erb
visual_migrate-4.0.1.2 app/views/layouts/visual_migrate/_func_create_table.html.erb