Skip to content

Commit

Permalink
Dev: question theme documentation update
Browse files Browse the repository at this point in the history
  • Loading branch information
dominikvitt committed Jun 19, 2018
1 parent 2846559 commit 0ace024
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions themes/question/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ Also you should give some information about the used licence (remember LimeSurve

It makes a lot of sense to write which version of the view it is, to let people know If they would have to update.

Also, there is a difference between <name> and <title> tags.
<name> tag is used to enter a question theme code, without spaces.
<title> tag is used to enter a nice title which would be visible on Question theme dropdown on edit question page.
Also, there is a difference between `name` and `title` tags.
`name` tag is used to enter a question theme code, without spaces.
`title` tag is used to enter a nice title which would be visible on Question theme dropdown on edit question page.
Both tags are required.

The `metadatas` part should therefore look something like this:
Expand All @@ -46,7 +46,7 @@ The `metadatas` part should therefore look something like this:

You can add additional files to the question view.

<preview> tag is used to show a preview image for question type on edit question page right side accordion. If this tag is missing or empty, default question type preview image would be used.
`preview` tag is used to show a preview image for question type on edit question page right side accordion. If this tag is missing or empty, default question type preview image would be used.

Please make sure, that you put your own files in an `asset` folder in the base folder of your question view.

Expand Down

0 comments on commit 0ace024

Please sign in to comment.