app/forms/tramway/landing/block_form.rb in tramway-landing-1.1.3.1 vs app/forms/tramway/landing/block_form.rb in tramway-landing-1.2
- old
+ new
@@ -1,15 +1,17 @@
class Tramway::Landing::BlockForm < ::Tramway::Core::ApplicationForm
- properties :title, :background, :view_state, :block_type, :position, :navbar_link, :anchor, :description
+ properties :title, :background, :view_state, :block_type, :position, :navbar_link, :anchor, :description, :link_object_type, :link_object_id
def initialize(object)
form_object = super object
form_properties title: :string,
background: :file,
position: :numeric,
block_type: :default,
navbar_link: :default,
anchor: :string,
- description: :default
+ description: :default,
+ link_object_type: :default,
+ link_object_id: :numeric
form_object
end
end