Author: david
Date: Tue Aug 23 15:48:02 2011
New Revision: 9577

Log:
Remove link from ISDIAH edit form (Authorized form of name) to ISAAR edit form 
- avoid linking from within form.

Modified:
   trunk/plugins/sfIsdiahPlugin/modules/sfIsdiahPlugin/templates/editSuccess.php

Modified: 
trunk/plugins/sfIsdiahPlugin/modules/sfIsdiahPlugin/templates/editSuccess.php
==============================================================================
--- 
trunk/plugins/sfIsdiahPlugin/modules/sfIsdiahPlugin/templates/editSuccess.php   
    Tue Aug 23 15:23:14 2011        (r9576)
+++ 
trunk/plugins/sfIsdiahPlugin/modules/sfIsdiahPlugin/templates/editSuccess.php   
    Tue Aug 23 15:48:02 2011        (r9577)
@@ -21,9 +21,10 @@
       ->label(__('Identifier').' <span class="form-required" title="'.__('This 
is a mandatory element.').'">*</span>')
       ->renderRow() ?>
 
-    <?php echo render_field($form->authorizedFormOfName
+    <?php echo $form->authorizedFormOfName
       ->help(__('"Record the standardised form of name of the institution, 
adding appropriate qualifiers (for instance dates, place, etc.), if necessary. 
Specify separately in the Rules and/or conventions used element (5.6.3) which 
set of rules has been applied for this element." (ISDIAH 5.1.2)'))
-      
->label(link_to_if(isset($sf_request->getAttribute('sf_route')->resource), 
__('Authorized form of name'), array($resource, 'module' => 'actor', 'action' 
=> 'edit', 'repositoryReroute' => $resource->id)).' <span class="form-required" 
title="'.__('This is a mandatory element').'">*</span>'), $resource) ?>
+      ->label(__('Authorized form of name').' <span class="form-required" 
title="'.__('This is a mandatory element').'">*</span>')
+      ->renderRow() ?>
 
     <?php echo $form->parallelName
       ->help(__('"Purpose: To indicate the various forms in which the 
authorised form of name of an institution occurs in other languages or script 
form(s). Rule: Record the parallel form(s) of name of the institution in 
accordance with any relevant national or international conventions or rules 
applied by the agency that created the description, including any necessary sub 
elements and/or qualifiers required by those conventions or rules. Specify in 
the Rules and/or conventions used element (5.6.3) which rules have been 
applied." (ISDIAH 5.1.3)'))

-- 
You received this message because you are subscribed to the Google Groups 
"Qubit Toolkit Commits" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/qubit-commits?hl=en.

Reply via email to