Sha256: 0139e46257c7dbbb4801f37334e1df168703878b897131b73f122679072186bd
Contents?: true
Size: 823 Bytes
Versions: 9
Compression:
Stored size: 823 Bytes
Contents
<fieldset class="note_relation" id="notations_data"> <legend><%= Notation::Base.model_name.human(:count => 2) %></legend> <ol> <% owner_klass.notations.each do |notation| %> <%= content_tag(:li, :class => "inline_note #{" new" if notation.new_record?}") do %> <%= f.simple_fields_for :notations, notation do |note_form| %> <%= note_form.input :value, :input_html => { :class => 'span4' } %> <%= note_form.input :data_type, :input_html => { :class => 'span4' } %> <% unless notation.new_record? %> <%= note_form.input :"_destroy", :as => :boolean, :label => t("txt.common.delete") %> <% end %> <% end %> <% end %> <% end %> </ol> <input type="button" value="<%= t("txt.common.add_note") %>" class="btn pull-right"> </fieldset>
Version data entries
9 entries across 9 versions & 1 rubygems