Sha256: 2a4dce8230a59bfcfaa0bfe48bda0df3636673d86de52b79be89a1a3979a79e6
Contents?: true
Size: 1.01 KB
Versions: 5
Compression:
Stored size: 1.01 KB
Contents
- form_for [:admin, @fabulator_library], :html => {:onsubmit_status => onsubmit_status(@fabulator_library)} do |f| = f.hidden_field :lock_version = render_region :form_top .form_area - render_region :form do |form| - form.edit_title do %p.title = f.label :name = f.text_field :name, :class => 'textbox activate', :maxlength => 100 - form.edit_content do %p.content = f.label :xml, "Definition" ~ f.text_area :xml, :class => "textarea large", :style => "width: 100%" - render_region :form_bottom do |form_bottom| - form_bottom.edit_buttons do %p.buttons{:style=>"clear: left"} = save_model_button(@fabulator_library, :label => @fabulator_library.new_record? ? 'Create Library' : 'Save Changes') = save_model_and_continue_editing_button(@fabulator_library) or = link_to 'Cancel', admin_fabulator_libraries_url - form_bottom.edit_timestamp do %p.updated_line = updated_stamp @fabulator_library
Version data entries
5 entries across 5 versions & 1 rubygems