Sha256: 77da8c335ededccfb93214a2ca5c2148c8d80fbb1ef925ac22f41afb2539b29d

Contents?: true

Size: 825 Bytes

Versions: 3

Compression:

Stored size: 825 Bytes

Contents

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

    #{form_for(
      @field_group,
      :method => :post,
      :action => CustomFields::Controller::CustomFieldGroups.r(:save),
      :id     => :custom_field_group_form
    ) do |f|
      f.input_hidden(:id        , @field_group.id)
      f.input_hidden(:csrf_token, get_csrf_token)

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

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

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
zen-0.3 lib/zen/package/custom_fields/lib/custom_fields/view/admin/custom-field-groups/form.xhtml
zen-0.3b1 lib/zen/package/custom_fields/lib/custom_fields/view/admin/custom-field-groups/form.xhtml
zen-0.3b lib/zen/package/custom_fields/lib/custom_fields/view/admin/custom-field-groups/form.xhtml