]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - src/Wallabag/CoreBundle/Resources/views/themes/material/Config/index.html.twig
Add tagged services for import
[github/wallabag/wallabag.git] / src / Wallabag / CoreBundle / Resources / views / themes / material / Config / index.html.twig
index a6fd2f11d51d88693afb34b07df471cecd2eb846..8743dc1dd0b207f15508376b0a734f60e0afb8d9 100644 (file)
                             </div>
 
                             {% if twofactor_auth %}
+                            <div class="row">
+                                <div class="input-field col s12">
+                                    {% trans %}Enabling two factor authentication means you'll receive an email with a code on every new untrusted connexion{% endtrans %}
+                                </div>
+                            </div>
+
                             <div class="row">
                                 <div class="input-field col s12">
                                     {{ form_widget(form.user.twoFactorAuthentication) }}
                             </div>
                         </div>
 
-                        <form action="{{ path('config') }}#set5" method="post" {{ form_enctype(form.new_tagging_rule) }}>
+                        {{ form_start(form.new_tagging_rule) }}
                             {{ form_errors(form.new_tagging_rule) }}
 
                             <div class="row">
                                             <tr>
                                                 <td>domainName</td>
                                                 <td>{% trans %}The domain name of the entry{% endtrans %}</td>
-                                                <td></td>
-                                                <td></td>
+                                                <td>matches</td>
+                                                <td>
+                                                    {% trans %}
+                                                    Tests that a <i>subject</i> is matches a <i>search</i> (case-insensitive).<br />
+                                                    Example: <code>title matches "football"</code>
+                                                    {% endtrans %}
+                                                </td>
                                             </tr>
                                         </tbody>
                                     </table>
                     </div>
 
                     {% if is_granted('ROLE_SUPER_ADMIN') %}
-                    <div id="set5" class="col s12">
+                    <div id="set6" class="col s12">
                         {{ form_start(form.new_user) }}
                             {{ form_errors(form.new_user) }}