Author: sevein
Date: Wed Aug 10 13:18:38 2011
New Revision: 9479

Log:
Add mandatory mark to authorizedFormOfName fields

Modified:
   trunk/apps/qubit/modules/rightsholder/templates/editSuccess.php
   trunk/plugins/qtAccessionPlugin/modules/donor/templates/editSuccess.php

Modified: trunk/apps/qubit/modules/rightsholder/templates/editSuccess.php
==============================================================================
--- trunk/apps/qubit/modules/rightsholder/templates/editSuccess.php     Wed Aug 
10 13:15:02 2011        (r9478)
+++ trunk/apps/qubit/modules/rightsholder/templates/editSuccess.php     Wed Aug 
10 13:18:38 2011        (r9479)
@@ -16,7 +16,8 @@
 
     <legend><?php echo __('Identity area') ?></legend>
 
-    <?php echo render_field($form->authorizedFormOfName, $resource) ?>
+    <?php echo render_field($form->authorizedFormOfName
+      ->label(__('Authorized form of name').' <span class="form-required" 
title="'.__('This is a mandatory element.').'">*</span>'), $resource) ?>
 
   </fieldset>
 

Modified: 
trunk/plugins/qtAccessionPlugin/modules/donor/templates/editSuccess.php
==============================================================================
--- trunk/plugins/qtAccessionPlugin/modules/donor/templates/editSuccess.php     
Wed Aug 10 13:15:02 2011        (r9478)
+++ trunk/plugins/qtAccessionPlugin/modules/donor/templates/editSuccess.php     
Wed Aug 10 13:18:38 2011        (r9479)
@@ -16,7 +16,8 @@
 
     <legend><?php echo __('Identity area') ?></legend>
 
-    <?php echo render_field($form->authorizedFormOfName, $resource) ?>
+    <?php echo render_field($form->authorizedFormOfName
+      ->label(__('Authorized form of name').' <span class="form-required" 
title="'.__('This is a mandatory element.').'">*</span>'), $resource) ?>
 
   </fieldset>
 

-- 
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