1.7.37. PlanFeature ドロップ (up)

1.7.37.1. メソッド

1.7.37.1.1. errors

送付に失敗した後にこのモデルのフォームがレンダリングされると、発生したエラーを返します。

{{ plan_feature.errors.name | inline_errors }}
1.7.37.1.2. name

機能の名前を返します。

<h2>Feature {{ feature.name }}</h2>
1.7.37.1.3. description

機能の説明を返します。

1.7.37.1.4. has_description?

機能に説明があるかどうかを返します。

{% if feature.has_description? %}
  {{ feature.description }}
{% else %}
   This feature has no description.
{% endif %}
1.7.37.1.5. enabled?