Sha256: b18a9f35d3f1ba821a26ea1afaae0b63ad92c50883a6acd046a5f1e794b7974b

Contents?: true

Size: 875 Bytes

Versions: 3

Compression:

Stored size: 875 Bytes

Contents

<section>
    <header>
        <h1>#{get_breadcrumbs}</h1>
    </header>

    #{form_for(
      @category_group,
      :method => :post,
      :action => Categories::Controller::CategoryGroups.r(:save),
      :id     => :category_group_form
    ) do |f|
      f.input_hidden(:id        , @category_group.id)
      f.input_hidden(:csrf_token, get_csrf_token)

      f.input_text(
        lang('category_groups.labels.name'),
        :name,
        :title     => lang('category_groups.descriptions.name'),
        :required  => :required,
        :maxlength => 255
      )

      f.textarea(
        lang('category_groups.labels.description'),
        :description,
        :rows => 8
      )

      f.g.div(:class => 'button') do
        f.g.input(
          :type  => 'submit',
          :value => lang('category_groups.buttons.save')
        )
      end
    end}
</section>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
zen-0.3 lib/zen/package/categories/lib/categories/view/admin/category-groups/form.xhtml
zen-0.3b1 lib/zen/package/categories/lib/categories/view/admin/category-groups/form.xhtml
zen-0.3b lib/zen/package/categories/lib/categories/view/admin/category-groups/form.xhtml