We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1ffd9a0 commit ffe1ec8Copy full SHA for ffe1ec8
qiita_pet/templates/user_profile.html
@@ -19,7 +19,7 @@ <h3>User Information</h3>
19
{% raw form_item(class_='form-control') %}
20
</div>
21
{% end %}
22
- <div style="color:red;">{{msg}}</div>
+ <div style="color:{% if msg.startswith('ERROR:') %}red{% else %}darkgreen{% end %};">{{msg}}</div>
23
<button type="submit" class="btn btn-success">Save Edits</button>
24
</form>
25
0 commit comments