Sha256: 16d4d481b024f3da6751f515e5d035ac01e9e5a15195e3ff412bcd338d30161e

Contents?: true

Size: 406 Bytes

Versions: 5

Compression:

Stored size: 406 Bytes

Contents

h1
	= params[:id]
= form_tag develop_manages_path, class: "formbox formitem"
  = 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

5 entries across 5 versions & 1 rubygems

Version Path
rails_admin_content-0.2.4 app/views/rails_admin_content/develop/manages/new.html.slim
rails_admin_content-0.2.3 app/views/rails_admin_content/develop/manages/new.html.slim
rails_admin_content-0.2.2 app/views/rails_admin_content/develop/manages/new.html.slim
rails_admin_content-0.2.1 app/views/rails_admin_content/develop/manages/new.html.slim
rails_admin_content-0.2.0 app/views/rails_admin_content/develop/manages/new.html.slim