Advertisement
Guest User

content/collectedinfo/form.tpl

a guest
Dec 5th, 2011
173
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Smarty 1.14 KB | None | 0 0
  1. <div class="border-box">
  2. <div class="border-ml"><div class="border-mr"><div class="border-mc float-break">
  3. {default collection=cond( $collection_id, fetch( content, collected_info_collection, hash( collection_id, $collection_id ) ),
  4.  
  5.                          fetch( content, collected_info_collection, hash( contentobject_id, $node.contentobject_id ) ) )}
  6.  
  7. {set-block scope=global variable=title}{'Form %formname'|i18n('design/ezwebin/collectedinfo/form',,hash('%formname',$node.name|wash))}{/set-block}
  8.  
  9. <h1>{'Thank you for your application.'|i18n('design/let/collectedinfo/form')}</h1>
  10.  
  11. <h2>{$object.name|wash}</h2>
  12.  
  13. {section show=$error}
  14.  
  15. {section show=$error_existing_data}
  16.  
  17. <p>{'You have already submitted this form. The data you entered was:'|i18n('design/let/collectedinfo/form')}</p>
  18.  
  19. {/section}
  20.  
  21. {/section}
  22.  
  23. {section loop=$collection.attributes}
  24.  
  25. <h3>{$:item.contentclass_attribute_name|wash}</h3>
  26.  
  27. {attribute_result_gui view=info attribute=$:item}
  28.  
  29. {/section}
  30.  
  31. <p/>
  32.  
  33. <a href={$node.parent.url|ezurl}>{'Return to site'|i18n('design/let/collectedinfo/form')}</a>
  34.  
  35. {/default}
  36.  
  37. </div></div></div>
  38.  
  39.  
  40. </div>
  41.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement