Sha256: 0f8d577b5d42d9e0d7649ec2829e3df56a23d721bc7070b6099dbe748a3e20d4
Contents?: true
Size: 763 Bytes
Versions: 25
Compression:
Stored size: 763 Bytes
Contents
= effective_form_with(model: [:admin, cpd_activity], engine: true) do |f| - if inline_datatable? = f.hidden_field :cpd_category_id - else = f.select :cpd_category_id, Effective::CpdCategory.sorted.all, label: 'Category' .row .col = f.text_field :title, label: 'Title' - if defined?(EffectiveArticleEditor) = f.article_editor :body, label: 'Body (optional)' - else = f.rich_text_area :body, label: 'Body (optional)' .col = f.text_field :amount_label, hint: 'hours of work, papers written, courses attended' = f.text_field :amount2_label, hint: 'continuing education units' = f.check_box :requires_upload_file = f.check_box :requires_date = effective_submit(f)
Version data entries
25 entries across 25 versions & 1 rubygems