Sha256: fb96662e78f4875eae92bfbd49969442b525be87b1cba9f220c38a140088c24d
Contents?: true
Size: 890 Bytes
Versions: 7
Compression:
Stored size: 890 Bytes
Contents
<%= div_for f.object do %> <table border="0" cellpadding="1" cellspacing="0"> <%= f.error_messages %> <tr vlalign="top"> <td width="150"><%= f.label :name %></td> <td><%= f.text_field :name%></td> </tr> <tr vlalign="top"> <td width="150"><%= f.label :label %><br /></td> <td><%= f.text_field :label %></td> </tr> <tr vlalign="top"> <td width="150"><%= f.label :description %><br /></td> <td><%= f.text_field :description %></td> </tr> <tr vlalign="top"> <td width="150"><%= f.label :type %></td> <td><%= f.select :type, options_for_select(@field_types.collect{|type| [type.gsub(/Newsletter::Field::/,'').humanize,type]}, f.object.class.name) %></td> </tr> <tr vlalign="top"> <td align="right" colspan="2"> <%= f.link_to_remove "Remove", {class: 'button'} %><div class='linkbuttonEnding'> <br/><br/><hr/> </td> </tr> </table> <% end %>
Version data entries
7 entries across 7 versions & 1 rubygems