Skip to content

Instantly share code, notes, and snippets.

@kevinpfromnm
Created June 30, 2010 20:21
Show Gist options
  • Save kevinpfromnm/459167 to your computer and use it in GitHub Desktop.
Save kevinpfromnm/459167 to your computer and use it in GitHub Desktop.
<extend tag="form" for="Picture">
<old-form enctype="multipart/form-data" merge>
<field-list: fields="name,description,license,notes,image" />
</old-form>
</extend>
<extend tag="card" for="Picture">
<card>
<h5><a /></h5>
<p>
<a><img src="#{this.image.url :thumbnail}" /></a>
<view:description />
</p>
<p>
Uploaded:<br />
<view:created_at format="%B %d, %Y" /> by <you:user />.
</p>
<delete-button class="actions" />
<report-content-link />
</card>
</extend>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment