1.8.9. (up)

양식의 이름에 따라 지정된 작업 및 클래스 특성으로 양식 태그를 렌더링합니다. 지원되는 양식은 다음과 같습니다.

form

허용되는 필드 이름

스팸 보호

참고

application.create

  • application[name]
  • application[description]
  • application[<any-extra-field>]

없음

 

application.update

  • application[name]
  • application[description]
  • application[<any-extra-field>]

없음

 

signup

  • account[org_name]
  • account[org_legaladdress]
  • account[org_legaladdress_cont]
  • account[city]
  • account[state]
  • account[zip]
  • account[telephone_number]
  • account[country_id]
  • account[<any-extra-field>]
  • account[user][username]
  • account[user][email]
  • account[user][first_name]
  • account[user][last_name]
  • account[user][password]
  • account[user][password_confirmation]
  • account[user][title]
  • account[user][<any-extra-field>]

있음

name plan_ids[] 와 함께 하나 이상의 숨겨진 필드를 추가하여 선택한 계획에 직접 서명합니다. 이러한 이름의 매개 변수가 현재 URL에 있는 경우 입력 필드가 자동으로 채워집니다.

예: 애플리케이션을 생성하는 양식

{% form 'application.create', application %}


   {{ application.errors.name | inline_errors }}


{% endform %}