To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.
root / app / views / custom_fields / select_type.html.erb @ 1591:63650ae64bf2
History | View | Annotate | Download (540 Bytes)
| 1 |
<%= title [l(:label_custom_field_plural), custom_fields_path],
|
|---|---|
| 2 |
l(:label_custom_field_new) %>
|
| 3 |
|
| 4 |
<% selected = 0 %>
|
| 5 |
<%= form_tag new_custom_field_path, :method => 'get' do %>
|
| 6 |
<div class="box"> |
| 7 |
<p><%= l(:label_custom_field_select_type) %>:</p> |
| 8 |
<p>
|
| 9 |
<% custom_field_type_options.each do |name, type| %>
|
| 10 |
<label style="display:block;"><%= radio_button_tag 'type', type, 1==selected+=1 %> <%= name %></label> |
| 11 |
<% end %>
|
| 12 |
</p>
|
| 13 |
</div>
|
| 14 |
<p><%= submit_tag l(:label_next).html_safe + " »".html_safe, :name => nil %></p> |
| 15 |
<% end %>
|