%form#formily_preview_form_tag %h3.text-center = @form.title - if @form.description.present? %span.has-tip.tip-bottom{'data-tooltip'=> '', 'aria-haspopup'=>true, title: @form.description} ? - @form.form_inputs.each do |input| = render partial: input.partial_path, locals: {input: input, inputs: input.inputs} %input.button{type: 'button', value: 'Save as Draft', title: 'Save a draft to complete later'} %input.button{type: 'button', value: 'Submit Completed Form', title: 'Complete and Submit'} %input.button{type: 'button', value: 'Cancel', title: 'Cancel'} .formily-spinner