Sha256: f3ab711eeb020c79f9e555833db2328b9e6a1b23b1c7632700ce240d971ca50b

Contents?: true

Size: 1.09 KB

Versions: 4

Compression:

Stored size: 1.09 KB

Contents

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

    <div class="body">
        #{form_for(
          @category_group,
          :method              => :post,
          :action              => Categories::Controller::CategoryGroups.r(:save),
          :id                  => :category_group_form,
          :'data-autosave-url' => Categories::Controller::CategoryGroups \
            .r(:autosave)
        ) 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.input(
          :type  => 'submit',
          :value => lang('category_groups.buttons.save'),
          :class => 'button'
        )
        end}
    </div>
</section>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
zen-0.4.3 lib/zen/package/categories/lib/categories/view/admin/category-groups/form.xhtml
zen-0.4.2 lib/zen/package/categories/lib/categories/view/admin/category-groups/form.xhtml
zen-0.4.1 lib/zen/package/categories/lib/categories/view/admin/category-groups/form.xhtml
zen-0.4 lib/zen/package/categories/lib/categories/view/admin/category-groups/form.xhtml