Mercurial > hg > soundsoftware-site
view .svn/pristine/da/dade97d2f6b0fa5fb73e9c17001539def9496f0c.svn-base @ 1539:22d57b0e0a77 live
OK, this script works now, but it should be using the API
author | Chris Cannam <chris.cannam@soundsoftware.ac.uk> |
---|---|
date | Thu, 21 May 2015 17:31:06 +0100 |
parents | dffacf8a6908 |
children |
line wrap: on
line source
<%= title [l(:label_custom_field_plural), custom_fields_path], l(:label_custom_field_new) %> <% selected = 0 %> <%= form_tag new_custom_field_path, :method => 'get' do %> <div class="box"> <p><%= l(:label_custom_field_select_type) %>:</p> <p> <% custom_field_type_options.each do |name, type| %> <label style="display:block;"><%= radio_button_tag 'type', type, 1==selected+=1 %> <%= name %></label> <% end %> </p> </div> <p><%= submit_tag l(:label_next).html_safe + " »".html_safe, :name => nil %></p> <% end %>