Sha256: 252d9d49b94a19da5d26497e15cfed1ef0817bf44a2947c24cae8257a02851ed

Contents?: true

Size: 445 Bytes

Versions: 2

Compression:

Stored size: 445 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.1 app/views/rails_admin_content/develop/manages/new.html.slim
rails_admin_content-0.1.0 app/views/rails_admin_content/develop/manages/new.html.slim