Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Change font to text field

  • Loading branch information...
commit e653249485acd7a2a9f93b9d775c631b1af835d4 1 parent 78d6059
Mike Jerome authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 app/views/products/_text_area_fields.html.erb
View
4 app/views/products/_text_area_fields.html.erb
@@ -43,9 +43,9 @@
</p>
<p>
<%= text_area_f.label :font_name %>
- <%= text_area_f.select :font_name, TextArea.font_options %>
+ <%= text_area_f.text_field :font_name %>
<br />
- <code><%= "product[personalised_images_attributes][#{personalised_image_index}][text_areas_attributes][#{text_area_index}][font_name]" %><br />The name of the font file to use. The font must exist on my server. I have tested ttf, ttc and ottext_area_f. You don't need to include the file extension. It <b>is</b> case sensitive.</code>
+ <code><%= "product[personalised_images_attributes][#{personalised_image_index}][text_areas_attributes][#{text_area_index}][font_name]" %><br />The name of the font file to use. The font must exist on my server. I have tested ttf, ttc and ottext_area_f. You should include the file extension. It <b>is</b> case sensitive.</code>
</p>
<p>
<%= text_area_f.label :align %>
Please sign in to comment.
Something went wrong with that request. Please try again.