Well, this is my page in app/views/all_approved.dryml
<all_approved-page>
<content:>
<header>
<h2>
<ht key="leads.all_approved.heading">
Final approval for <this.contact.company/> - <this.name/>
</ht>
</h2>
<h3></h3>
</header>
<field-list fields="contract_signed, resource_confirmation,
resource_manager, project_sponsor"/>
<all_approved-form/>
</content:>
</all_approved-page>
And this is form from application.dryml:
<def tag="all_approved-form" for="Lead">
<form lifecycle="all_approved" merge param="default" >
<error-messages param/>
<input type="hidden" name="key"
value="&this.lifecycle.provided_key" if="&this.lifecycle.provided_key"/
>
<field-list fields="reason" param/>
<div param="actions">
<submit id="winner_button" label="#{ht
'leads.actions.all_approved', :default=>['Approve Lead']}"
style="background-color:green" param/>
<submit id="second_button" label="#{ht
'leads.actions.reject', :default=>['Reject project start']}"
style="background-color:red" param/>
<or-cancel param="cancel"/>
</div>
</form>
</def>
I am not sure if I did all required activities to add new tags (I am
not sure are there any scripts I need to run).
--
You received this message because you are subscribed to the Google Groups "Hobo
Users" 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/hobousers?hl=en.