# File app/helpers/sys_conf_adm_helper.rb, line 17
  def attributes_row(attr, modifiable=false)
    columns = [attr.name, field_type_for(attr)]

    columns << (attr.null ? _('Yes') : _('No') ) <<
      attr.default <<
      [link_to(_('Delete'), 
               { :action => 'delete_table_field',
                 :table => @table, :field => attr.name},
               { :method => 'post', 
                 :confirm => _("Removing this field from the table " +
                               "definition will cause ALL OF ITS DATA to " +
                               "be destroyed. \n" +
                               "This is an irreversible action.\n" +
                               "Are you sure?")
               }),
       link_to(_('Edit'),
               :action => 'edit_table_field', :table => @table,
               :field => attr.name)
      ].join(' - ') if modifiable

    table_row_tag + columns.map {|col| "<td>#{col}</td>" }.join + end_table_row_tag
  end