Sha256: 6e48a343acf25c3da3925d54ba83135e01dc9e68e6278ddc8d686ab040fabf6e

Contents?: true

Size: 1.54 KB

Versions: 24

Compression:

Stored size: 1.54 KB

Contents

#form-header= f.title_field :title, :class => 'title', :explanation => "Give your product a title."

.inner-form.with-normal-sidebar
  .column.side
    %label Publish
    .explanation Is your product ready to appear on your website?
    = slider("Yes", f.radio_button(:published, true), "Not Yet", f.radio_button(:published, false))
    %hr

    = f.super_label :product_category_id, "Category"
    .explanation The category this product belongs to.
    = f.collection_select :product_category_id, @categories, :id, :title, {}, {:style => "width: 100%;"}
    %hr

    = f.text_field :price, :size => 6, :value => number_with_precision(@product.price, :precision => 2), :explanation => "Enter a price for the product, e.g. 12.99"

    %label Featured
    .explanation Show this product more prominently?
    = slider("Sure", f.radio_button(:featured, true, :checked => true), "Nope", f.radio_button(:featured, false))
    %hr

    = f.text_area :options, :style => "width: 100%", :rows => 10, :explanation => "You can specify options like colour or size, but you have to do it in a specific way. <a href='#' class='help-toggle'>Learn How.</a>", :last => true

  .column.main.last
    = f.text_area :short_description, :style => "width: 100%; height: 60px;", :label => "Provide Your Product&#39;s Short Description", :explanation => "This is typically used in lists and search results. Write a short, compelling paragraph."
    = f.cktext_area :description, :width => '100%', :height => '430px;', :label => "Compose &amp; Format Your Product&#39;s Primary Description"

  .spacer

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
forge-cli-0.1.10 lib/forge/app/views/forge/products/modules/_details.html.haml
forge-cli-0.1.9 lib/forge/app/views/forge/products/modules/_details.html.haml
forge-cli-0.1.8 lib/forge/app/views/forge/products/modules/_details.html.haml
forge-cli-0.1.7 lib/forge/app/views/forge/products/modules/_details.html.haml
forge-cli-0.1.6 lib/forge/app/views/forge/products/modules/_details.html.haml
forge-cli-0.1.5 lib/forge/app/views/forge/products/modules/_details.html.haml
forge-cli-0.1.4 lib/forge/app/views/forge/products/modules/_details.html.haml
forge-cli-0.1.3 lib/forge/app/views/forge/products/modules/_details.html.haml
forge-cli-0.1.2 lib/forge/app/views/forge/products/modules/_details.html.haml
forge-cli-0.1.1 lib/forge/app/views/forge/products/modules/_details.html.haml
forge-cli-0.1.0 lib/forge/app/views/forge/products/modules/_details.html.haml
forge-cli-0.0.18 lib/forge/app/views/forge/products/modules/_details.html.haml
forge-cli-0.0.17 lib/forge/app/views/forge/products/modules/_details.html.haml
forge-cli-0.0.16 lib/forge/app/views/forge/products/modules/_details.html.haml
forge-cli-0.0.15 lib/forge/app/views/forge/products/modules/_details.html.haml
forge-cli-0.0.14 lib/forge/app/views/forge/products/modules/_details.html.haml
forge-cli-0.0.13 lib/forge/app/views/forge/products/modules/_details.html.haml
forge-cli-0.0.12 lib/forge/app/views/forge/products/modules/_details.html.haml
forge-cli-0.0.11 lib/forge/app/views/forge/products/modules/_details.html.haml
forge-cli-0.0.10 lib/forge/app/views/forge/products/modules/_details.html.haml