• section_browse.msn

    394 395  
    132 132 %
    133 133 % } else {
    134 134 %
    135 <% $name | h %>&nbsp;\
    135 <% $name | h %>\
    136 136 %
    137 137 % }
    138 138 %
     
    187 187 % if ( $document->$attr ) {
    188 188 % $doc = $keeper->get_document_by_id( $document->$attr, %opts );
    189 189 % }
    190 <td><input type="hidden" name="<% 'update_'.$document->id.'_'.$attr %>" id="<% 'update_'.$document->id.'_'.$attr %>" value="<% $document->$attr || '' %>">
    191 <input type="text" class="<% 'autocomplete_'.$attr %>" id="<% 'autocomplete_'.$document->id.'_'.$attr %>" value="<% ref $doc ? $doc->name : '' %>"
    190 <td><input type="hidden" name="<% 'update_'.$document->id.'_'.$attr %>" id="<% 'update_'.$document->id.'_'.$attr %>" value="<% ($document->$attr || '') |h %>">
    191 <input type="text" class="<% 'autocomplete_'.$attr %>" id="<% 'autocomplete_'.$document->id.'_'.$attr %>" value="<% (ref $doc ? $doc->name : '') |h %>"
    192 192 title="<% defined $document->$attr ? 'Значение: '.$document->$attr : '' %>"
    193 193 rel="<% 'update_'.$document->id.'_'.$attr %>" style="<% $col->{inline_width} ? 'width:'.$col->{inline_width}.'px;' : '' %> <% $col->{inline_style} || '' %>"
    194 old-value="<% ref $doc ? $doc->name : '' %>" onfocus="if ( )" onblur="">
    194 old-value="<% (ref $doc ? $doc->name : '') |h %>" onfocus="" onblur="">
    195 195 % } elsif ($col->{type} eq 'lookup') {
    196 196 % my %opts = %{ $col->{lookup_opts} };
    197 197 % delete $opts{search_by} if exists $opts{search_by};