Sha256: f2a646606d4b1b696317d9bda41b54f78a0ee6c446c2c7faeadc1472de79f733

Contents?: true

Size: 818 Bytes

Versions: 10

Compression:

Stored size: 818 Bytes

Contents

= form_for @database_config do |f|
  - if @database_config.errors.any?
    #error_explanation
      h2 = "#{pluralize(@database_config.errors.count, "error")} prohibited this database_config from being saved:"
      ul
        - @database_config.errors.full_messages.each do |message|
          li = message

  .field
    = f.label :adapter
    = f.text_field :adapter
  .field
    = f.label :encoding
    = f.text_field :encoding
  .field
    = f.label :pool
    = f.text_field :pool
  .field
    = f.label :username
    = f.text_field :username
  .field
    = f.label :password
    = f.text_field :password
  .field
    = f.label :host
    = f.text_field :host
  .field
    = f.label :port
    = f.text_field :port
  .field
    = f.label :database_name
    = f.text_field :database_name
  .actions = f.submit 'Save'

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
easy_reports-0.0.22 app/views/easy_reports/database_configs/_form.html.slim
easy_reports-0.0.21 app/views/easy_reports/database_configs/_form.html.slim
easy_reports-0.0.20 app/views/easy_reports/database_configs/_form.html.slim
easy_reports-0.0.19 app/views/easy_reports/database_configs/_form.html.slim
easy_reports-0.0.18 app/views/easy_reports/database_configs/_form.html.slim
easy_reports-0.0.17 app/views/easy_reports/database_configs/_form.html.slim
easy_reports-0.0.16 app/views/easy_reports/database_configs/_form.html.slim
easy_reports-0.0.15 app/views/easy_reports/database_configs/_form.html.slim
easy_reports-0.0.14 app/views/easy_reports/database_configs/_form.html.slim
easy_reports-0.0.13 app/views/easy_reports/database_configs/_form.html.slim