Added some help to the edit form.
This commit is contained in:
parent
896bc2064e
commit
ceeab5332e
3 changed files with 14 additions and 3 deletions
|
@ -29,3 +29,11 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
form .ui.form {
|
||||||
|
.field {
|
||||||
|
.attached-label > input, .attached-label > textarea {
|
||||||
|
margin-bottom: 2rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -54,8 +54,9 @@
|
||||||
<div class="field">
|
<div class="field">
|
||||||
<label class="control-label required" for="event_summary">Beschreibung</label>
|
<label class="control-label required" for="event_summary">Beschreibung</label>
|
||||||
|
|
||||||
<div class="ui left labeled icon input">
|
<div class="ui left labeled icon input attached-label">
|
||||||
<textarea name="description">{{ entity.description|default('') }}</textarea>
|
<textarea name="description">{{ entity.description|default('') }}</textarea>
|
||||||
|
<div class="ui bottom attached label">Du kannst hier <a href="https://en.wikipedia.org/wiki/Markdown">Markdown</a> benutzen.</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -91,13 +92,14 @@
|
||||||
<div class="field">
|
<div class="field">
|
||||||
<label class="" for="event_tags">Tags</label>
|
<label class="" for="event_tags">Tags</label>
|
||||||
|
|
||||||
<div class="ui left labeled icon input">
|
<div class="ui left icon input attached-label">
|
||||||
<input type="text"
|
<input type="text"
|
||||||
id="event_tags"
|
id="event_tags"
|
||||||
name="tags"
|
name="tags"
|
||||||
value="{{ entity.getTagsAsText() }}"
|
value="{{ entity.getTagsAsText() }}"
|
||||||
class="form-control">
|
class="form-control">
|
||||||
<i class="icon tag"></i>
|
<i class="icon tag"></i>
|
||||||
|
<div class="ui bottom attached label">Du kannst hier kommasepariert <a href="https://en.wikipedia.org/wiki/Tag_%28metadata%29">Tags</a> angeben.</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,8 @@
|
||||||
|
|
||||||
{% block css %}
|
{% block css %}
|
||||||
{% stylesheets filter="compass"
|
{% stylesheets filter="compass"
|
||||||
"@CalciferBundle/Resources/assets/css/jquery.datetimepicker.scss" %}
|
"@CalciferBundle/Resources/assets/css/jquery.datetimepicker.scss"
|
||||||
|
"@CalciferBundle/Resources/assets/css/events.scss" %}
|
||||||
<link rel="stylesheet" href="{{ asset_url }}"/>
|
<link rel="stylesheet" href="{{ asset_url }}"/>
|
||||||
{% endstylesheets %}
|
{% endstylesheets %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
Reference in a new issue