Sha256: d2b3d504cbc6b9718e6fe2261aff5e33009e667e87f430dbe606ac09b0eefe2b

Contents?: true

Size: 280 Bytes

Versions: 1

Compression:

Stored size: 280 Bytes

Contents

<p><%=h @subject %></p>

<% @form.class.form_attributes.each do |attribute|
  value = @form.send(attribute)
  next if value.blank? %>

  <p><b><%= @form.class.human_attribute_name(attribute) %>:</b>
  <%= value.include?("\n") ? simple_format(h(value)) : h(value) %></p>
<% end %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
josevalim-simple_form-0.1.1 views/simple_form/notifier/contact.erb