Sha256: 2fba17fb6cb272b6a751baa38f81c2b581277db36eb25af3cb265c143dde0e16
Contents?: true
Size: 992 Bytes
Versions: 1
Compression:
Stored size: 992 Bytes
Contents
h3.text-primary= "Table: #{@table}" h4.text-warning= "Column: #{@column}" h5.text-info= "Default: #{@opts.default}" if @opts.default h6.text-danger= "Null: #{@opts.null}" if @opts.null = form_for @opts, url: :column_options, html: { class: 'form-horizontal' }, remote: true do |f| = f.hidden_field :table, value: @table = f.hidden_field :column, value: @column = f.label :type .form-group .col-md-9 = f.select :type, ["Current: #{@opts.type}",'String', 'Boolean', 'Integer', 'Text', 'Float', 'Decimal', 'Binary', 'Date', 'Time', 'DateTime'].map { |i| i }, {}, { class: 'browser-default' } = f.hidden_field 'parameters[:old_type]', value: @opts.type .col-md-3 = f.submit 'Run', class: 'btn btn-info waves-effect waves-light ajax' = link_to 'Remove Column', remove_column_path(table: @table ,column: @column), method: :post, class: 'btn btn-sm btn-danger waves-effect waves-light', data: { confirm: "Remove column #{@column}?" }, remote: true
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ryakuzu-0.2.6 | app/views/ryakuzu/tables/_column.html.slim |