diff options
Diffstat (limited to 'app/views/custom_fields/new.rhtml')
-rw-r--r-- | app/views/custom_fields/new.rhtml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/app/views/custom_fields/new.rhtml b/app/views/custom_fields/new.rhtml new file mode 100644 index 000000000..3b215dc9f --- /dev/null +++ b/app/views/custom_fields/new.rhtml @@ -0,0 +1,8 @@ +<h2><%=l(:label_custom_field_new)%> (<%=l(@custom_field.type_name)%>)</h2> + +<%= start_form_tag({:action => 'new'}, :class => "tabular") %> + <%= render :partial => 'form', :locals => { :type => @custom_field.type } %> + <%= hidden_field_tag 'type', @custom_field.type %> + <%= submit_tag l(:button_save) %> +<%= end_form_tag %> + |