aboutsummaryrefslogtreecommitdiff
path: root/app/views/agents/_form.html.erb
blob: 563e8ec447a04a0c5be5b02028bde5ab9910d3ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<fieldset>
    <%= tag.legend "Propriétés de l'Agent" %>

    <dl>
        <dt><%= f.label :name %></dt>
        <dd><%= f.text_field :name, maxlength: 64, placeholder: 'incommon' %>
        <br>hint: this must match a group name on talk.incommon.cc</dd>

        <dt><%= f.label :summary %></dt>
        <dd><%= f.text_field :summary, maxlength: 136, placeholder: 'Default Agent' %></dd>

        <dt><%= f.label :description %></dt>
        <dd><%= f.text_area :description, cols: 72, rows: 10, spellcheck: true,
placeholder: '## IN COMMON Default Agent

La description _peut_ comporter du [Markdown].

[Markdown]: https://www.markdownguide.org/getting-started/' %></dd>
    </dl>
</fieldset>

<p><%= f.submit 'Save' %></p>