Sha256: 86ac933b11535d8d3a9c5b3b4cc846f5af8a4c7196dbab4aa30d3b3051acaedf
Contents?: true
Size: 934 Bytes
Versions: 5
Compression:
Stored size: 934 Bytes
Contents
- form_for [:admin, @forum] do |f| = hidden_field 'forum', 'lock_version' = render_region :form_top .form-area - render_region :form do |form| - form.edit_name do %p.title %label{:for=>"forum_name"} Name = text_field "forum", "name", :class => 'textbox', :maxlength => 100 - form.edit_description do %p.content %label{:for=>"forum_description"} Description ~ text_area "forum", "description", :class => "textarea", :style => "width: 100%" - form.edit_group do = render :partial => "admin/groups/edit_access", :locals => {:groupee => @forum} = javascript_tag "$('forum_name').activate()" - render_region :form_bottom do |form_bottom| - form_bottom.edit_buttons do %p.buttons = save_model_button(@forum) = save_model_and_continue_editing_button(@forum) or = link_to 'Cancel', admin_forums_url
Version data entries
5 entries across 5 versions & 1 rubygems