annotate app/views/custom_fields/.svn/text-base/new.rhtml.svn-base @ 242:bde4f47b6427
feature_73
Do more-or-less the right thing to pull in and update external repos
author |
Chris Cannam <chris.cannam@soundsoftware.ac.uk> |
date |
Thu, 24 Feb 2011 15:04:51 +0000 |
parents |
513646585e45 |
children |
|
rev |
line source |
Chris@0
|
1 <h2><%= link_to l(:label_custom_field_plural), :controller => 'custom_fields', :action => 'index' %>
|
Chris@0
|
2 » <%= link_to l(@custom_field.type_name), :controller => 'custom_fields', :action => 'index', :tab => @custom_field.type %>
|
Chris@0
|
3 » <%= l(:label_custom_field_new) %></h2>
|
Chris@0
|
4
|
Chris@0
|
5 <% labelled_tabular_form_for :custom_field, @custom_field, :url => { :action => "new" } do |f| %>
|
Chris@0
|
6 <%= render :partial => 'form', :locals => { :f => f } %>
|
Chris@0
|
7 <%= hidden_field_tag 'type', @custom_field.type %>
|
Chris@0
|
8 <%= submit_tag l(:button_save) %>
|
Chris@0
|
9 <% end %>
|