Sha256: fdd7166c298fcea6696f06f004352d31735f5cb29c5a78ae811a849072ef61c3

Contents?: true

Size: 640 Bytes

Versions: 2

Compression:

Stored size: 640 Bytes

Contents

h1= "Table: #{@table.tableize}"
= form_tag :add_column, class: 'form-horizontal', remote: true do
  = label_tag 'Create Column'
  = text_field :name, :column, class: 'form-control', placeholder: 'Column name...', pattern: '^[A-Za-z_]{1,150}$', title: 'Remove numbers, or non english words'
  .col-md-8.input-field
    = select_tag :type, options_for_select(['String', 'Boolean', 'Integer',
              'Text', 'Float', 'Decimal', 'Binary', 'Date', 'Time', 'DateTime'].map { |i| i }), { class: 'browser-default' }
  = hidden_field_tag :table, @table
  = submit_tag 'Create Column', class: 'btn btn-sm btn-success waves-effect waves-light'

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ryakuzu-0.3.0 app/views/ryakuzu/tables/_add_column.html.slim
ryakuzu-0.2.6 app/views/ryakuzu/tables/_add_column.html.slim