module AvramLuckyFlowHelpers

Overview

If you have Avram required, you can require this file for some additional helpers

Direct including types

Defined in:

ext/avram.cr

Instance Method Summary

Instance Method Detail

def fill_form(form : Avram::SaveOperation.class | Avram::Operation.class, **fields_and_values) #

Fill a form created by Lucky that uses an Avram::SaveOperation

Note that Lucky and Avram are required to use this method

fill_form QuestionForm,
  title: "Hello there!",
  body: "Just wondering what day it is"

[View source]