Changeset 72 for trunk/skins/toolbox/story_edit.cpt
- Timestamp:
- 01/13/06 14:34:41 (14 years ago)
- Location:
- trunk/skins/toolbox
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/skins/toolbox
-
Property
svn:ignore
set to
computeRelatedItems.py
-
Property
svn:ignore
set to
-
trunk/skins/toolbox/story_edit.cpt
r53 r72 80 80 <metal:use_typedescription use-macro="typedescription_macro" /> 81 81 <metal:use_body use-macro="body_macro" /> 82 83 <form action="" method="post" tal:attributes="action string:${here/absolute_url}/${template/id};">84 <!--div class="field">85 <label for="title" i18n:translate="">Title</label>86 <span class="fieldRequired" title="Required"87 i18n:attributes="title title_required;"88 i18n:translate="label_required">(Required)</span>89 <br />90 <input type="text"91 id="title"92 name="title"93 size="25"94 tabindex=""95 tal:define="Title python:here.Title"96 value="Title html_quote"97 tal:attributes="value Title;98 tabindex tabindex/next;"99 />100 </div>101 102 <div class="field">103 <label for="author" i18n:translate="">Author</label>104 <br />105 <input type="text"106 id="author"107 name="author"108 size="25"109 tabindex=""110 tal:define="author python:here.getAuthor()"111 value="author html_quote"112 tal:attributes="value author;113 tabindex tabindex/next;"114 />115 </div>116 117 <div class="field">118 <textarea type="text"119 id="body"120 name="body"121 tal:content="python:here.getBody()"122 rows="8"123 tal:attributes="tabindex tabindex/next;"124 />125 </div-->126 127 <div class="field">128 <label for="links" i18n:translate="">Links</label>129 <div class="formHelp" i18n:translate="help_location">130 To add a new link fill name and URL fields and click 'add link'. You can modify links, just select link you want to modify, edit it and click 'Modify selected links'. For removing link select link you want to remove clear all fields and click 'Modify selected links'.131 </div>132 <br />133 <table border="0">134 <tr tal:condition="here/getLink">135 <td>136 </td>137 <td>Name138 </td>139 <td>URL140 </td>141 <td>142 </td>143 </tr>144 <tr tal:repeat="link here/getLink">145 <span tal:define="linkname python:link['name']; linkself python:link['href']; nr python:repeat['link'].number()">146 <td>147 <input type="checkbox"148 id=""149 name=""150 tabindex=""151 tal:attributes="id python:'ischecked'+str(nr); name python:'ischecked'+str(nr);152 tabindex tabindex/next;"153 />154 </td>155 <td>156 <input type="text"157 id=""158 name=""159 size="25"160 tabindex=""161 value="linkname html_quote"162 tal:attributes="value linkname; id python:'linkname'+str(nr); name python:'linkname'+str(nr);163 tabindex tabindex/next;"164 />165 </td>166 <td>167 <input type="text"168 id=""169 name=""170 size="35"171 tabindex=""172 value="linkself html_quote"173 tal:attributes="value linkself; id python:'linkself'+str(nr); name python:'linkself'+str(nr);174 tabindex tabindex/next;"175 />176 </td>177 <td>178 <a href="" tal:attributes="href linkself" tal:content="linkname"></a>179 </td>180 </span>181 </tr>182 <tr tal:condition="here/getLink">183 <td>184 </td>185 <td>186 </td>187 <td align="right">188 <input class="context"189 tabindex=""190 type="submit"191 value="Modify selected links"192 name="form.button.SaveLinks"193 i18n:attributes="value label_savelink;"194 tal:attributes="tabindex tabindex/next;"195 />196 </td>197 <td>198 </td>199 </tr>200 <tr>201 <td>202 </td>203 <td>Name204 </td>205 <td>URL206 </td>207 <td>208 </td>209 </tr>210 <tr>211 <td>212 </td>213 <td>214 <input type="text"215 id="linkname"216 name="linkname"217 size="25"218 tabindex=""219 value=""220 tal:attributes="tabindex tabindex/next;"221 />222 </td>223 <td>224 <input type="text"225 id="linkself"226 name="linkself"227 size="35"228 tabindex=""229 value=""230 tal:attributes="tabindex tabindex/next;"231 />232 </td>233 <td>234 <input class="context"235 tabindex=""236 type="submit"237 value="Add link"238 name="form.button.AddLink"239 i18n:attributes="value label_addlink;"240 tal:attributes="tabindex tabindex/next;"241 />242 </td>243 </tr>244 </table>245 </div>246 247 <!--div class="formControls">248 <input class="context"249 tabindex=""250 type="submit"251 value="Save"252 name="form.button.Save"253 i18n:attributes="value label_save;"254 tal:attributes="tabindex tabindex/next;"255 />256 <input class="standalone"257 tabindex=""258 type="submit"259 value="Cancel"260 name="form.button.Cancel"261 i18n:attributes="value label_cancel;"262 tal:attributes="tabindex tabindex/next;"263 />264 </div-->265 266 <input type="hidden" name="form.submitted" value="1" />267 </form>268 269 82 <metal:use_footer use-macro="footer_macro" /> 270 83 </metal:main>
Note: See TracChangeset
for help on using the changeset viewer.