Sha256: 9a6006a3ee23c90b7090aa0fa220c8465e23fef1a07ce15ba5e83c778a1bd78e

Contents?: true

Size: 446 Bytes

Versions: 2

Compression:

Stored size: 446 Bytes

Contents

.span8
  = form_tag develop_manages_path
    = field_set_tag "Table[#{params[:id]}]" do
      = hidden_field_tag 'table_name', params[:id]
      - RailsAdminContent::Client.conn.origin_query("DESC #{params[:id]}").each.map do |column|
        - next if column["Field"] == "id"
        = label_tag "field[#{column["Field"]}]", column["Field"]
        = content_field column
      .controllers
        = submit_tag 'Save', class: 'btn btn-primary'

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rails_admin_content-0.1.3 app/views/rails_admin_content/develop/manages/new.html.slim
rails_admin_content-0.1.2 app/views/rails_admin_content/develop/manages/new.html.slim