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
|
@ -28,4 +28,12 @@
|
|||
margin-right: 0.5rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
form .ui.form {
|
||||
.field {
|
||||
.attached-label > input, .attached-label > textarea {
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -54,8 +54,9 @@
|
|||
<div class="field">
|
||||
<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>
|
||||
<div class="ui bottom attached label">Du kannst hier <a href="https://en.wikipedia.org/wiki/Markdown">Markdown</a> benutzen.</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@ -91,13 +92,14 @@
|
|||
<div class="field">
|
||||
<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"
|
||||
id="event_tags"
|
||||
name="tags"
|
||||
value="{{ entity.getTagsAsText() }}"
|
||||
class="form-control">
|
||||
<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>
|
||||
|
||||
|
|
|
@ -2,7 +2,8 @@
|
|||
|
||||
{% block css %}
|
||||
{% 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 }}"/>
|
||||
{% endstylesheets %}
|
||||
{% endblock %}
|
||||
|
|
Reference in a new issue