view .svn/pristine/ea/ea1722961c125100f4532f404db336110a651ed6.svn-base @ 1250:55a62689cc97 redmine-2.2-integration

printing the html correctly (not escaping it)
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Wed, 03 Apr 2013 15:55:50 +0100
parents cbb26bc654de
children
line wrap: on
line source
<h2><%= link_to l(:label_custom_field_plural), :controller => 'custom_fields', :action => 'index' %>
  &#187; <%= link_to l(@custom_field.type_name), :controller => 'custom_fields', :action => 'index', :tab => @custom_field.class.name %>
  &#187; <%= l(:label_custom_field_new) %></h2>

<% labelled_tabular_form_for :custom_field, @custom_field, :url => { :action => "new" } do |f| %>
<%= render :partial => 'form', :locals => { :f => f } %>
<%= hidden_field_tag 'type', @custom_field.type %>
<%= submit_tag l(:button_save) %>
<% end %>