Sha256: e33147ba540f261eb78d7fefff93439c6f913ff05f01144f030e2bd820444e0b

Contents?: true

Size: 1.72 KB

Versions: 20

Compression:

Stored size: 1.72 KB

Contents

h3 { "input()" }
section {
  code_demo {
    %Q{
      input(
        class: 'ae-text-field ae-input-sm',
        type: "text",
        name: "text",
        value: "Enter a word",
        placeholder: "Enter some text"
      )
    }
  }
}

h3 { "smart_form()" }
section {
  code_demo {
    %Q{
      smart_form(){
      }
    }
  }
}

h3 { 'express_form()'}
section {
  code_demo {
    %Q{
      express_form() {
      }
    }
  }
}


h3 { "Search" }
section {

  para {
    "A search form always contains a search field and reset search field button. Search button is optional. Search on \"enter\" key is always enabled."
  }

  table {
    thead {
      th { "Properties" }
      th { "Notes" }
    }
    tbody {
      tr {
        td { code { "maxLength" } }
        td { "auto or string" }
      }

      tr {
        td { code { "grouping" } }
        td { "inline, horizontal, or single_line" }
      }

      tr {
        td { code { "button"} }
        td { "true or false" }
      }
    }
  }

  code_demo {
    %Q{
      search_form(
        name: "",
        maxlength: "",
        class: "",
        placeholder: "Enter a keyword and hit enter",
        value: "",
        grouping: "single_line",
        button: true,
        button_text: "Search"){
      }
    }
  }
}

h3 { "Express Billing" }
section {
  para { "Credit card form, coupon code" }
}

h3 { 'code_editor()'}
section {
  code_demo {
    %Q{
      express_form() {
        code_editor()
      }
    }
  }
}


h3 { 'country_select()'}
section {
  code_demo {
    %Q{
      express_form() {
        country_select :country_code, label: "Country", class: form_field_class(:country)
      }
    }
  }
}

h3 { "media_form()" }
section {
  code_demo {
    %Q{
      media_form()
    }
  }
}

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
express_ui-0.5.0 app/views/express_ui/uicomponents/_forms.html.et
express_ui-0.4.2 app/views/express_ui/uicomponents/_forms.html.et
express_ui-0.4.1 app/views/express_ui/uicomponents/_forms.html.et
express_ui-0.4.0 app/views/express_ui/uicomponents/_forms.html.et
express_ui-0.3.0 app/views/express_ui/uicomponents/_forms.html.et
express_ui-0.2.1 app/views/express_ui/uicomponents/_forms.html.et
express_ui-0.2.0 app/views/express_ui/uicomponents/_forms.html.et
express_ui-0.1.7 app/views/express_ui/uicomponents/_forms.html.et
express_ui-0.1.6 app/views/express_ui/uicomponents/_forms.html.et
express_ui-0.1.5 app/views/express_ui/uicomponents/_forms.html.et
express_ui-0.1.4 app/views/express_ui/uicomponents/_forms.html.et
express_ui-0.1.3 app/views/express_ui/uicomponents/_forms.html.et
express_ui-0.1.2 app/views/express_ui/uicomponents/_forms.html.et
express_ui-0.1.1 app/views/express_ui/uicomponents/_forms.html.et
express_ui-0.1.0 app/views/express_ui/uicomponents/_forms.html.et
express_ui-0.1.0.rc7 app/views/express_ui/uicomponents/_forms.html.et
express_ui-0.1.0.rc5 app/views/express_ui/uicomponents/_forms.html.et
express_ui-0.1.0.rc4 app/views/express_ui/uicomponents/_forms.html.et
express_ui-0.1.0.rc3 app/views/express_ui/uicomponents/_forms.html.et
express_ui-0.1.0.rc1 app/views/express_ui/uicomponents/_forms.html.et