Sha256: 8abc9386b66176539af6fc6ed87e7996f4dd0942fe0d7160804eb1859b89d6cd

Contents?: true

Size: 523 Bytes

Versions: 33

Compression:

Stored size: 523 Bytes

Contents

<!-- Wrapper around ActiveModel::Name#human

#### Attributes

 - model - (optional) should be a model class or a record object (default to this)
 - count - (optional) used to pick the inflected string for the model. It should be an integer.
 -->
<def tag="model-name-human" attrs="model, count"><%=
  model ||= this
  model = model.class unless model.kind_of? Class
  # prepare symbolized attributes for merging
  attrs = {}
  all_attributes.each_pair{|k,v| attrs[k.to_sym] = v}
  model.model_name.human( attrs )
%>
</def>

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
hobo_rapid-2.2.6 taglibs/i18n/model_name_human.dryml
hobo_rapid-2.2.5 taglibs/i18n/model_name_human.dryml
hobo_rapid-2.2.4 taglibs/i18n/model_name_human.dryml
hobo_rapid-2.2.3 taglibs/i18n/model_name_human.dryml
hobo_rapid-2.2.2 taglibs/i18n/model_name_human.dryml
hobo_rapid-2.2.1 taglibs/i18n/model_name_human.dryml
hobo_rapid-2.2.0 taglibs/i18n/model_name_human.dryml
hobo_rapid-2.1.2 taglibs/i18n/model_name_human.dryml
hobo_rapid-2.1.1 taglibs/i18n/model_name_human.dryml
hobo_rapid-2.1.0 taglibs/i18n/model_name_human.dryml
hobo_rapid-2.1.0.pre4 taglibs/i18n/model_name_human.dryml
hobo_rapid-2.1.0.pre3 taglibs/i18n/model_name_human.dryml
hobo_rapid-2.1.0.pre2 taglibs/i18n/model_name_human.dryml
hobo_rapid-2.1.0.pre1 taglibs/i18n/model_name_human.dryml
hobo_rapid-2.0.1 taglibs/i18n/model_name_human.dryml
hobo_rapid-2.0.0 taglibs/i18n/model_name_human.dryml
hobo_rapid-2.0.0.pre10 taglibs/i18n/model_name_human.dryml
hobo_rapid-2.0.0.pre9 taglibs/i18n/model_name_human.dryml
hobo_rapid-2.0.0.pre8 taglibs/i18n/model_name_human.dryml
hobo_rapid-2.0.0.pre7 taglibs/i18n/model_name_human.dryml