conversations
listlengths
2
3
source
stringclasses
1 value
stack
stringclasses
1 value
[ { "from": "system", "value": "Add September talk and social\n\nSigned-off-by: Alex Ross <60c6d277a8bd81de7fdde19201bf9c58a3df08f4@wearebase.com>\n" }, { "from": "human", "value": "{% extends \"master.twig\" %}\n\n{% block main_content %}\n <div class=\"inner cover\">\n ...
twig
chosen
[ { "from": "system", "value": "Check for href being not empty instead of null\n" }, { "from": "human", "value": "<link rel=\"canonical\" href=\"{{ (href is defined) ? href : palmtree_canonical_url() }}\">\n" }, { "from": "gpt", "value": "<link rel=\"canonical\" href=\"{{ (href is not ...
twig
chosen
[ { "from": "system", "value": "Make the theme available for t9n\n\nIn a way to promote i18n and in addition of a `languages.yaml` file (other PR), this PR is a strating point to turn the theme translatable.\r\nIf you agree by merging this one then I will continue this process on other strings.\r\nThanks" }...
twig
chosen
[ { "from": "system", "value": "Improve grid for long questions\n" }, { "from": "human", "value": "{% extends \"bootstrap_3_horizontal_layout.html.twig\" %}\n\n{% block _other_checkbox_row -%}\n{%- spaceless %}\n <div class=\"form-group{% if not valid %} has-error{% endif %}\">\n <div cl...
twig
chosen
[ { "from": "system", "value": "Fix missing view port meta tag for responsive behavior\n" }, { "from": "human", "value": "<!DOCTYPE html>\n<html lang=\"{{ app.request.locale }}\">\n <head>\n <meta charset=\"UTF-8\" />\n <title>{% block title %}{{ platform.name }}{% endblock %}</ti...
twig
chosen
[ { "from": "system", "value": "Remove unnecessary parameters from product.mainTaxon type\n" }, { "from": "human", "value": "<div class=\"ui tab\" data-tab=\"taxonomy\">\n <h3 class=\"ui dividing header\">{{ 'sylius.ui.taxonomy'|trans }}</h3>\n {{ form_row(form.mainTaxon, {'remote_url': path...
twig
chosen
[ { "from": "system", "value": "Use \"same as\" instead of deprecated \"sameas\" in Twig\n" }, { "from": "human", "value": "{% if channels|length > 1 %}\n\n{% set selected = channels|first %}\n{% set code = app.request.query.get('channel') %}\n\n{% for channel in channels %}\n {% if channel.cod...
twig
chosen
[ { "from": "system", "value": "Fix for the image preview in the file filed on multilang sites\n" }, { "from": "human", "value": "{% extends \"forms/field.html.twig\" %}\n{% set defaults = config.plugins.form %}\n{% set files = defaults.files|merge(field|default([])) %}\n\n{% block input %}\n\n ...
twig
chosen
[ { "from": "system", "value": "Fix error if no format is defined\n" }, { "from": "human", "value": "{#\n\nThis file is part of the Sonata package.\n\n(c) Thomas Rabaix <thomas.rabaix@sonata-project.org>\n\nFor the full copyright and license information, please view the LICENSE\nfile that was dist...
twig
chosen
[ { "from": "system", "value": "Set a CSRF token for dashboard recently edited\n" }, { "from": "human", "value": "<div class=\"contenttype-title\">\n <span class=\"pull-right\">\n <a href=\"{{ path('overview', {'contenttypeslug': contenttype}) }}\" class=\"morelink\">\n ...
twig
chosen
[ { "from": "system", "value": "Set date data field to date only" }, { "from": "human", "value": "{#=== OPTIONS ========================================================================================================#}\n\n{% set option = {\n class: field.class|default(''),\n label: f...
twig
chosen
[ { "from": "system", "value": "Prepend Error to the error page title\n" }, { "from": "human", "value": "{% extends '::base.html.twig' %}\n\n{% block page_title %}{{ 'Error - ' ~ title }}{% endblock %}\n\n{% block content %}\n <h2>{{ title }}</h2>\n\n <p>{{ description }}</p>\n\n <table c...
twig
chosen
[ { "from": "human", "value": "Move blog item for lists to own template\n" }, { "from": "gpt", "value": "{% set header_image = article.media.images|first %}\n<article class=\"blog__post\">\n <a href=\"{{ article.url }}\" class=\"blog__post-link\">\n <h3>{{ article.title }}</h3>\n ...
twig
chosen
[ { "from": "system", "value": "Fix presenter issue - this is a required field so don't overstep\n" }, { "from": "human", "value": "{% extends page.theme_layout.value ?: \"theme::layouts/default\" %}\n\n{% block content %}\n {{ content|raw }}\n{% endblock %}\n" }, { "from": "gpt", "...
twig
chosen
[ { "from": "system", "value": "Fix the design of the profiler exceptions when there is no message\n\n" }, { "from": "human", "value": "{{ include('@Twig/exception.css.twig') }}\n\n.container {\n max-width: auto;\n margin: 0;\n padding: 0;\n}\n.container .container {\n padding: 0;\n}\n...
twig
chosen
[ { "from": "system", "value": "Fix menu new child template\n" }, { "from": "human", "value": "{% extends \"EkynaAdminBundle:Entity:sided.html.twig\" %}\n\n{% block title %}\n<h1>{{ 'ekyna_cms.menu.header.new_child'|trans({'%name%': menu})|raw }}</h1>\n{% endblock %}\n\n{% block actions %}\n{{ adm...
twig
chosen
[ { "from": "system", "value": "[BUGFIX] Correct inclusion of backend layouts\n" }, { "from": "human", "value": "###\n### PageTS for {{ package.title }}\n###\n<INCLUDE_TYPOSCRIPT: source=\"FILE:EXT:{{ package.extensionKey }}/Configuration/PageTS/RTE.txt\">\n<INCLUDE_TYPOSCRIPT: source=\"FILE:EXT:{...
twig
chosen
[ { "from": "system", "value": "Add Bootstrap classes on pagination.\n" }, { "from": "human", "value": "{% spaceless %}\n{% set extraParameters = extraParameters|default({}) %}\n{% set display = display|default(2) %}\n{% set page = datagrid.currentPage %}\n{% set pages = datagrid.nbPages %}\n\n{% ...
twig
chosen
[ { "from": "system", "value": "Fix import macro icon in macro buttonIcon\n" }, { "from": "human", "value": "{% macro buttonIcon(url, icon, label, buttonType, extra) %}\n <a href=\"{{ url }}\" class=\"btn {{ buttonType|default('btn-default') }}\" title=\"{{ label }}\" {{ extra }}>\n {{ _self.i...
twig
chosen
[ { "from": "system", "value": "Disable autocomplete on toggles => prevent from wrong display after toggle+refresh\n" }, { "from": "human", "value": "{% if is_easyadmin_granted(entity_config, 'edit', item) %}\n {% include '@!EasyAdmin/default/field_toggle.html.twig' %}\n{% else %}\n {% inclu...
twig
chosen
[ { "from": "system", "value": "Update generic template id definition\n" }, { "from": "human", "value": "{\n \"$schema\": \"http://json-schema.org/draft-04/hyper-schema#\",\n \"title\": \"{{ title }}\",\n \"type\": \"object\",\n \"properties\": {\n \"id\": {\n \"type\...
twig
chosen
[ { "from": "system", "value": "Add meta description and keywords" }, { "from": "human", "value": "<!DOCTYPE html>\n<html>\n <head>\n\t<meta charset=\"utf-8\" />\n <title>{{ meta_title }}</title>\n\t{# <meta name=\"description\" content=\"{{ meta_description }}\" /> #}\n\t{# <meta name=\...
twig
chosen
[ { "from": "system", "value": "Fix js path for elfinder-component 2.0\n\nThis should make it work along elfinder-component 2.0 new directory structure. Fixes #180." }, { "from": "human", "value": "<script src=\"{{ prefix }}/jquery/jquery.js\"></script>\n<script src=\"{{ prefix }}/jquery-ui/jquery...
twig
chosen
[ { "from": "system", "value": "Decrease font size of submenu lists\n" }, { "from": "human", "value": "<nav>\n {% for item in menu.get_items %}\n {% if post.slug in item.link %}\n {% for subitem in item.get_children %}\n {% include \"components/title.twig\" with { \"content\": subi...
twig
chosen
[ { "from": "system", "value": "Correct block on login template\n" }, { "from": "human", "value": "{% extends 'AppBundle:Components/Page:page.html.twig' %}\n{% trans_default_domain \"login\" %}\n{% block pageTitle %} {% trans %}pageTitle{% endtrans %} {% endblock %}\n\n\n{% block content %}\n\n <...
twig
chosen
[ { "from": "human", "value": "Add candidacy vote address template\n" }, { "from": "gpt", "value": "Hola <b>{{ name }},<br />\n<br />\nPuedes proporcionar este enlace público de votacion a los votantes para que procedan \nrellenando el formulario que les aparecerá:<br /><br />\n<br />\n<a href=\"h...
twig
chosen
[ { "from": "human", "value": "Add base layout to views folder\n" }, { "from": "gpt", "value": "<!DOCTYPE html>\n<html>\n<head>\n <meta charset=\"utf-8\" />\n <title>{% block title %}Welcome!{% endblock %}</title>\n {% block stylesheets %}\n {% stylesheets '@bootstrap_css' %}\n ...
twig
chosen
[ { "from": "system", "value": "Remove delay function from codrops-notification template" }, { "from": "human", "value": "<script type=\"text/javascript\">\n (function() {\n var delay;\n\n delay = function(ms, func) {\n return setTimeout(func, ms);\n };\n\n var notificati...
twig
chosen
[ { "from": "system", "value": "Check if the session exists before reading flash messages\n" }, { "from": "human", "value": "<div class=\"messages\">\n {% for message in app.session.flashBag.get('success') %}\n {# Bootstrap alert, see http://getbootstrap.com/components/#alerts #}\n ...
twig
chosen
[ { "from": "system", "value": "Fix a typo in the starter theme.\n" }, { "from": "human", "value": "{% block html_head_container %}\n {% include 'html-header.twig' %}\n {% block head %}\n {% endblock %}\n </head>\n{% endblock %}\n <body class=\"{{body_class}}\" data-template=\"base....
twig
chosen
[ { "from": "system", "value": "Fix fieldset configuration to be written again" }, { "from": "human", "value": "{% from 'editcontent/_macros.twig' import infopop %}\n\n{#=== INIT ===========================================================================================================#}\n\n{% set...
twig
chosen
[ { "from": "system", "value": "BAP-1677: Use blue style for loader and add dynamic\n" }, { "from": "human", "value": "{% extends 'OroUserBundle::layout.html.twig' %}\n\n{% block bodyClass %}login-page{% endblock %}\n\n{% block content %}\n<form action=\"{{ path('oro_user_reset_send_email') }}\" m...
twig
chosen
[ { "from": "system", "value": "Add a useful third cta\n" }, { "from": "human", "value": "{% extends \"_base.twig\" %}\n{% block title %}Index{% endblock %}\n{% block extraresources %}\n<link rel=\"canonical\" href=\"{{ canonicalUrl }}\">\n{% endblock %}\n{% block content %}\n<div class=\"page-hea...
twig
chosen
[ { "from": "system", "value": "Add \"select all\" button only on when multiple selection ois allowed" }, { "from": "human", "value": "{#=== INIT ===========================================================================================================#}\n\n{# Build the select options array #}\n{...
twig
chosen
[ { "from": "system", "value": "Make sure our breadcrumb does not end with an arrow.\n" }, { "from": "human", "value": "<p itemprop=\"breadcrumb\">\n\t{{ 'lbl.YouAreHere'|trans|capitalize }}:\n\t{% for breadcrumb in breadcrumb %}\n\t\t{% if breadcrumb.url %}<a href=\"{{ breadcrumb.url }}\" title=\...
twig
chosen
[ { "from": "system", "value": "Use select for more than two options.\n" }, { "from": "human", "value": "{% include \"field/preamble.twig\" %}\n<span class=\"multiple-choice-field\">\n {% for choiceSlug, choice in choices %}\n <input type=\"checkbox\" name=\"{{ slug }}\" value=\"{{ choic...
twig
chosen
[ { "from": "system", "value": "Fix capitals on PHP on About\n" }, { "from": "human", "value": "{% extends '::base.html.twig' %}\n\n{% block title %}phpDocumentor 2 &laquo; About{% endblock %}\n\n{% block body %}\n\n<section class=\"row surrounding-space\">\n <section class=\"span12\">\n <art...
twig
chosen
[ { "from": "system", "value": ":art: Use consistent formatting for error pages\n" }, { "from": "human", "value": "{% extends 'KorobiWebBundle::layout.html.twig' %}\n\n{% set page_title = \"Channel feature unavailable\" %}\n\n{% block body %}\n <h1>Channel feature unavailable</h1>\n <p>The r...
twig
chosen
[ { "from": "human", "value": "Add add method view for wallet controller\n" }, { "from": "gpt", "value": "{% extends 'CashflowBundle::base.html.twig' %}\n\n{% block body %}\n <h2>Add Wallet</h2>\n <div>{{ form_errors(form) }}</div>\n {{ form(form, {'method': 'POST'}) }}\n{% endblock %}" ...
twig
chosen
[ { "from": "system", "value": "Add link to Swagger UI to info box on homepage\n" }, { "from": "human", "value": "{% set is_stable = 'DEV' not in sylius_meta.version %}\n{% set admin_url = is_stable ? 'https://demo.sylius.com/admin' : 'https://master.demo.sylius.com/admin' %}\n\n{% if app.request....
twig
chosen
[ { "from": "system", "value": "Update faq dashboard widget header\n" }, { "from": "human", "value": "<div id=\"widgetFaqFeedback\" class=\"card card-default\">\n <div class=\"card-heading\">\n <h2 class=\"card-title\">\n <a href=\"{{ geturl('index','faq') }}\">{{ 'lbl.Faq'|trans|ucfirst ...
twig
chosen
[ { "from": "human", "value": "Add unknown template for errors\n" }, { "from": "gpt", "value": "{% extends 'MunicipalesBundle:theme:layout.html.twig' %}\n\n{% block title %}{{ 'consultation.error.html_title'|trans }}{% endblock %}\n{% block content %}\n<section class=\"section-2\">\n\t<div class=\...
twig
chosen
[ { "from": "system", "value": "Add instances link to crud template\n" }, { "from": "human", "value": "{\n \"$schema\": \"http://json-schema.org/draft-04/hyper-schema#\",\n \"title\": \"{{ title }}\",\n \"type\": \"object\",\n \"properties\": {\n \"id\": {\n \"type\":...
twig
chosen
[ { "from": "system", "value": "Use DH for list headings\n" }, { "from": "human", "value": "<div class=\"panel-body\">\n\n {% for category, heading in navigation %}\n <dl>\n <dt>{{ heading.title }}</dt>\n {% for section, title in heading.sections %}\n ...
twig
chosen
[ { "from": "system", "value": "[Product][Admin] Unify product crumb in both show and update page\n" }, { "from": "human", "value": "{% import '@SyliusAdmin/Macro/breadcrumb.html.twig' as breadcrumb %}\n\n{% set breadcrumbs = [\n { label: 'sylius.ui.administration'|trans, url: path('sylius_admi...
twig
chosen
[ { "from": "system", "value": "Make the import button match the button on the index page\n" }, { "from": "human", "value": "{% extends 'Layout/Templates/base.html.twig' %}\n{% import \"Layout/Templates/macros.html.twig\" as macro %}\n\n{% block actionbar %}\n\n{% endblock %}\n\n{% block content %...
twig
chosen
[ { "from": "system", "value": "[Admin] Add custom id to order currency\n" }, { "from": "human", "value": "{% import '@SyliusUi/Macro/flags.html.twig' as flags %}\n\n<h1 class=\"ui header\">\n <i class=\"circular cart icon\"></i>\n <div class=\"content\">\n {{ 'sylius.ui.order'|trans ...
twig
chosen
[ { "from": "human", "value": "Convert to Twig: SP's /admin/entries/ajax_media_load\n" }, { "from": "gpt", "value": "{% if files %}\n\n <div class=\"form_contents\">\n <div class=\"btn\">\n <button type=\"button\" class=\"btn_contents positive touch\" onclick=\"addMedia.add();...
twig
chosen
[ { "from": "system", "value": "Fix when used in templatefields" }, { "from": "human", "value": "{#=== Options ============================================================================#}\n\n{% set attr_opt = {\nclass: field.class|default(''),\nname_id: key,\nrequired: ...
twig
chosen
[ { "from": "human", "value": "Add new twig template for displaying the dropdown menu\n" }, { "from": "gpt", "value": "<select class=\"selectpicker\" id=\"dbVersionPicker\">\n {% for dbversion in dbversions.connections|keys %}\n <option data-icon=\"glyphicon-tag\" value=\"{{ dbversion }}\" >...
twig
chosen
[ { "from": "system", "value": "[Grid] Allow not to pass \"apply_transition\" button class\n" }, { "from": "human", "value": "{% if sm_can(data, options.transition, options.graph) %}\n <form action=\"{{ path(options.link.route, options.link.parameters) }}\" method=\"post\">\n <input type...
twig
chosen
[ { "from": "human", "value": "Add modal view for creating association via dragging from one tree to another in tree view\n" }, { "from": "gpt", "value": "{% extends '::layout.html.twig' %}\n\n{% block body %}\n {% if not app.request.xmlHttpRequest %}\n <h1>LsAssociation creation</h1>\n ...
twig
chosen
[ { "from": "human", "value": "Convert to Twig: SP's /admin/blog_templates/fc2_index\n" }, { "from": "gpt", "value": "{% extends 'admin/layouts/default_sp.twig' %}\n{% block title %}{{ _('FC2 Template list') }}{% endblock %}\n\n{% block content %}\n\n <header><h1 class=\"sh_heading_main_b\">{{ ...
twig
chosen
[ { "from": "human", "value": "Add template for my trait overview table\n" }, { "from": "gpt", "value": "<div class=\"panel panel-default\">\n <div class=\"panel-heading\">\n <h3 class=\"panel-title\"> My projects </h3>\n </div>\n <div class=\"panel-body\">\n <table id=\"pro...
twig
chosen
[ { "from": "system", "value": "Remove TZ on date mode\n" }, { "from": "human", "value": "{{ asset_add(\"scripts.js\", \"anomaly.field_type.datetime::js/jquery.plugin.min.js\") }}\n{{ asset_add(\"scripts.js\", \"anomaly.field_type.datetime::js/jquery.datetimeentry.min.js\") }}\n{{ asset_add(\"scri...
twig
chosen
[ { "from": "system", "value": "FIX - Lb problem in not user party\n" }, { "from": "human", "value": "<select class=\"select2 navigationSelect\" style=\"width: 100%\">\n <option value=\"\" selected=\"selected\">Sujets...</option>\n {% set section_id = -1 %}\n\n {% for topic in topics %}\n\n ...
twig
chosen
[ { "from": "system", "value": "Fix (homepage): Text files should end with a newline character\n" }, { "from": "human", "value": "<section>\n <h2>{{ 'last_observation'|trans }}</h2>\n {% if observations|length > 0 %}\n <div class=\"row\">\n {% for observation in observation...
twig
chosen
[ { "from": "system", "value": "Fix Spelling error, untit:unit in skeleton simpletest example\n" }, { "from": "human", "value": "<?php\n\n/**\n * @file\n * Tests for {{module}}.module.\n */\n\nnamespace Drupal\\{{module}}\\Tests;\n\nuse Drupal\\simpletest\\WebTestBase;\n\n/**\n * Provides automate...
twig
chosen
[ { "from": "system", "value": "Add ability to access the map object" }, { "from": "human", "value": "{% block yandex_maps_widget %}\n <div id=\"{{ id }}\" class=\"{{ attr.class }}\" style=\"width: {{ width }}px; height: {{ height }}px;\"></div>\n\n {% for child in form %}\n {% if chi...
twig
chosen
[ { "from": "system", "value": "Use a confirmed working URL for dbu's profile image" }, { "from": "human", "value": "---\ntitle: David Buchmann\nidentifier: davidbu\navatar: https://cdn-images-1.medium.com/fit/c/100/100/0*5ti667chDSfm_2B4.jpg\ntwitter: dbu\nbio: Symfony CMF and working at Liip, do...
twig
chosen
[ { "from": "system", "value": "Fix link in cookie bar text in triton theme\n" }, { "from": "human", "value": "{% if not cookieBarHide %}\n <div id=\"cookieBar\" class=\"fullWidthAlert alert\">\n {{ 'msg.CookiesWarning'|trans }}\n <a href=\"#\" id=\"cookieBarAgree\">{{ 'lbl.IAgree'|trans|uc...
twig
chosen
[ { "from": "system", "value": "Revert defaulting to text field type\n" }, { "from": "human", "value": "{% if form.message %}<div class=\"alert\">{{ form.message }}</div>{% endif %}\n\n<form name=\"{{ form.name }}\"\n action=\"{{ form.action ? base_url ~ form.action : page.url }}\"\n met...
twig
chosen
[ { "from": "system", "value": "[fix] Resolve default language not reachable with http_accept_language\n" }, { "from": "human", "value": "<ul class=\"dropdown\">\n <li>\n {% set langobj = grav['language'] %}\n {% set key = langswitcher.current %}\n {% set language = langswitcher.languages[key]...
twig
chosen
[ { "from": "system", "value": "Add events before and after taxon header (e.g. to add tracking including taxon data)\n" }, { "from": "human", "value": "{% include '@SyliusShop/Taxon/_breadcrumb.html.twig' %}\n\n<h1 class=\"ui monster section dividing header\">\n {{ taxon.name }}\n <div class...
twig
chosen
[ { "from": "system", "value": "Remove article panel and redesign article\n" }, { "from": "human", "value": "<div class=\"panel panel-default\">\n <div class=\"panel-heading\">\n <h4>\n {{ article.title }}\n <small>\n {{ article.createdAt|date('M-j-y ...
twig
chosen
[ { "from": "system", "value": "Test push from an other PC" }, { "from": "human", "value": "<h1>GenericData edit</h1>\n\n<form action=\"{{ path('genericdata_update', { 'id': entity.id }) }}\" method=\"post\" {{ form_enctype(edit_form) }}>\n {{ form_widget(edit_form) }}\n <p>\n <button...
twig
chosen
[ { "from": "system", "value": "Remove wrong role navigation that is not valid" }, { "from": "human", "value": "{% if navigation %}\n <ul class=\"navbar-nav mr-auto\" role=\"navigation\">\n {% for nav in navigation %}\n <li class=\"nav-item{% if nav.selected %} active{% endif %}\">\n ...
twig
chosen
[ { "from": "system", "value": "Fix quicksearch link to organism page\n" }, { "from": "human", "value": "<script type=\"text/javascript\">\n $(document).ready(function(){\n //autocomplete for organism search\n $(\"#search_{{ type }}\").autocomplete({\n position: {\n ...
twig
chosen
[ { "from": "system", "value": "Improve skeleton for generators bundle view\n" }, { "from": "human", "value": "{{ '{% extends \"::base.html.twig\" %}' }}\n{{ '{% block title %}' -}}\nHello\n{{- '{% endblock %}' }}\n{{ '{% block body %}' }}\n<h1>Hello {% raw %}{{ name }}{% endraw %}!</h1>\n\n<!-- S...
twig
chosen
[ { "from": "system", "value": "Fix bugs in previous showAll tpl\n" }, { "from": "human", "value": "{% extends '::base.html.twig' %}\n\n{% block metaTitle %}\n All tickets - {{ parent() }}\n{% endblock %}\n\n{% block title %}Viewing all tickets{% endblock %}\n\n{% block content %}\n {% if messag...
twig
chosen
[ { "from": "system", "value": "Fix the dump method in twig template for prod\n\nIn the mail template to notify the support desk when a publication\nhas failed there is a `dump` method. However this method is not\nsupported in the prod environment. So this is removed.\n" }, { "from": "human", "val...
twig
chosen
[ { "from": "system", "value": "Remove title tag from html header in favor of title-tag theme support" }, { "from": "human", "value": "<!doctype html>\n<!--[if lt IE 7]><html class=\"no-js ie ie6 lt-ie9 lt-ie8 lt-ie7\" {{site.language_attributes}}> <![endif]-->\n<!--[if IE 7]><html class=\"no-js i...
twig
chosen
[ { "from": "system", "value": "Make the event grid on the startpage responsive.\n" }, { "from": "human", "value": "{% extends 'CalciferBundle::layout.html.twig' %}\n\n{% block css %}\n {% stylesheets filter=\"compass\"\n \"@CalciferBundle/Resources/assets/css/events.scss\"\n %}\n ...
twig
chosen
[ { "from": "system", "value": "Make the link to edit the current page on GitHub point to the rendered file\n\nThis is a \"friendlier\" link for visitors: it will not auto-create a fork on their GitHub account, and it lets them view the document on GitHub first. Then can still simply click \"Edit\" to edit th...
twig
chosen
[ { "from": "system", "value": "Fix glitch when sorting countries\n" }, { "from": "human", "value": "{% macro list(countries) %}\n\n{% import 'SyliusWebBundle:Backend/Macros:buttons.html.twig' as buttons %}\n{% import 'SyliusWebBundle:Backend/Macros:alerts.html.twig' as alerts %}\n\n{% if countrie...
twig
chosen
[ { "from": "system", "value": "Change copy form view widget's HTML.\n" }, { "from": "human", "value": "{% trans_default_domain 'admin' %}\n\n{{ form_start(form, {'attr': {'class': 'js-form', 'data-reload-page': 1}}) }}\n{{ form_widget(form) }}\n<button type=\"submit\"\n class=\"table-row__...
twig
chosen
[ { "from": "system", "value": "Add register link on login page\n" }, { "from": "human", "value": "{# src/RCloud/Bundle/UserBundle/Resources/views/Security/login.html.twig #}\n\n{% extends 'RCloudUserBundle::layout.html.twig' %}\n\n{% trans_default_domain 'FOSUserBundle' %}\n\n{% block fos_user_co...
twig
chosen
[ { "from": "system", "value": "Use sonata route generator to create results route\n" }, { "from": "human", "value": "{% extends admin.getTemplate('base_list_field') %}\n\n{% block field%}\n\n {% if object.storeResults %}\n\n {% if object.results|length > 0 %}<a href=\"{{ path(\"admin_ne...
twig
chosen
[ { "from": "system", "value": "Update : use of btn class for update in players view\n" }, { "from": "human", "value": "{% extends \"GameScoreBundle::layout.html.twig\" %}\n\n{% block title %}\n Joueur : [{{ player.getId() }}] - {{ parent() }}\n{% endblock %}\n\n{% block mainsection %}\n <se...
twig
chosen
[ { "from": "system", "value": "Use assetic for all stylesheets\n" }, { "from": "human", "value": "{% extends \"SymfonyCmfCoreBundle::skeleton.html.twig\" %}\n\n{% block includes %}\n {{ parent() }}\n <link href=\"/bundles/sandboxmain/css/style.css\" media=\"screen\" type=\"text/css\" rel=\"...
twig
chosen
[ { "from": "system", "value": "Fix tiny regression in browse template\n" }, { "from": "human", "value": "<h4>{{ result }}</h4>\n{% if result.tags|length %}\n <p class=\"text-muted\">{{ render_value(result.tags) }}</p>\n{% endif %}\n<p>{{ result.path }}</p>\n" }, { "from": "gpt", "v...
twig
chosen
[ { "from": "human", "value": "Add security login default page\n" }, { "from": "gpt", "value": "{% if error %}\n <div>{{ error.message }}</div>\n{% endif %}\n \n<form action=\"{{ path('login_check') }}\" method=\"post\">\n <label for=\"username\">Username:</label>\n <input type=\"text\" i...
twig
chosen
[ { "from": "system", "value": "BAP-7171: Implement assets version for our JS files. Add assets version for JS routes\n\n - fixed pass to routes resource\n" }, { "from": "human", "value": "require({\n shim: {\n 'oro/routes': {\n deps: ['routing'],\n init: function(r...
twig
chosen
[ { "from": "system", "value": "Add newlines to channel overview\n" }, { "from": "human", "value": "{% extends 'KorobiWebBundle::layout.html.twig' %}\n\n{% set page_title = channel_name ~ \" on \" ~ network_name %}\n\n{% block body %}\n <h1>{{ channel_name }} on {{ network_name }}</h1>\n <st...
twig
chosen
[ { "from": "system", "value": "CRM-4138: Append or replace activities on account merge\n" }, { "from": "human", "value": "{% set empty_cell %}\n <span class=\"empty\">-- {{ 'oro.entity_merge.form.empty'|trans }} --</span>\n{% endset %}\n\n{% if convertedValue|length %}\n {{ convertedValue }...
twig
chosen
[ { "from": "system", "value": "Add a permission check for the button.\n" }, { "from": "human", "value": "{% extends 'LigiBundle::layout.html.twig' %}\n\n{% block title %}{{ entity.name }}{% endblock title %}\n\n{% block body -%}\n <h1 class=\"ui dividing header\">{{ entity.name }}</h1>\n\n <div...
twig
chosen
[ { "from": "system", "value": "Add missing translation domain on AvMission/ajouter template\n" }, { "from": "human", "value": "{% extends \"MgateSuiviBundle::layout.html.twig\" %}\n\n{% block javascript %}\n {{ form_javascript(form) }}\n{% endblock %}\n\n{% block content_bundle %}\n\n\n <h2...
twig
chosen
[ { "from": "human", "value": "Add final step for candidate\n" }, { "from": "gpt", "value": "{% extends 'MunicipalesBundle:theme:layout.html.twig' %}\n\n{% block title %}{{ 'candidate.html_title'|trans }}{% endblock %}\n\n{% form_theme form _self %}\n\n{% block checkbox_widget %}\n{% spaceless %}\...
twig
chosen
[ { "from": "system", "value": "Fix action url for delete form\n" }, { "from": "human", "value": "{{\n form(delete_form, {\n action: delete_form.vars.action ~ '&referer=' ~ referer,\n method: 'DELETE',\n attr: { id: 'delete-form', style: 'display: none' }\n })\n}}\n\n<di...
twig
chosen
[ { "from": "system", "value": "Add \"options\" to footer menu small screen sizes\n" }, { "from": "human", "value": "<i class=\"fa fa-plus fa-2x footer-menu-toggle\" aria-hidden=\"true\"></i>" }, { "from": "gpt", "value": "<i class=\"fa fa-plus fa-2x footer-menu-toggle\" aria-hidden=\"...
twig
chosen
[ { "from": "system", "value": "Hide filters if none found in entityConfig\n" }, { "from": "human", "value": "<form class=\"filter\" method=\"get\">\n <select class=\"form__select filter__filter-by\" name=\"filterBy\">\n {% for filter in entityConfig.listFilters %}\n <option {...
twig
chosen
[ { "from": "system", "value": "Fix else ifs in alert\n" }, { "from": "human", "value": "{% macro alert(level, message) %}\n {% if level == 'success' %}\n {% set glyph = 'ok' %}\n {% set sr = 'Success' %}\n {% else if level == 'danger' %}\n {% set glyph = 'exclamation-si...
twig
chosen
[ { "from": "system", "value": "Update layout for login template\n" }, { "from": "human", "value": "{% trans_default_domain 'FOSUserBundle' %}\n\n{% if error %}\n <div>{{ error.messageKey|trans(error.messageData, 'security') }}</div>\n{% endif %}\n\n{% trans_default_domain 'FOSUserBundle' %}\n\...
twig
chosen
[ { "from": "system", "value": "Change blog index to look more like the home page\n" }, { "from": "human", "value": "{% extends 'FabfotoGalleryBundle::layout.html.twig'%}\n{% import 'FabfotoGalleryBundle:Macro:link.html.twig' as helper %}\n{% block title %}Fabbook-Blog{% endblock title %}\n{% bloc...
twig
chosen
[ { "from": "system", "value": "Fix the damn segfault in the form theme\n" }, { "from": "human", "value": "{% block form_widget %}\n{% spaceless %}\n {% if compound %}\n {{ block('form_widget_compound') }}\n {% else %}\n {{ block('form_widget') }}\n {% endif %}\n <div cla...
twig
chosen
[ { "from": "system", "value": "Correct medals count for the 'null' value\n" }, { "from": "human", "value": "{% if is_granted('IS_AUTHENTICATED_FULLY') %}\n<div class=\"points\">\n <h1>Мои пряники</h1>\n <div class=\"count\">{{ user.gold }}</div>\n <h1>Пряники для благодарности</h1>\n ...
twig
chosen
[ { "from": "human", "value": "Add a default scellius page\n" }, { "from": "gpt", "value": "<!DOCTYPE html>\n<html>\n <head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" />\n <title>{% block title %}Welcome!{% endblock %}</title>\n {% block style...
twig
chosen
[ { "from": "human", "value": "Add step 1 for consultation\n" }, { "from": "gpt", "value": "{% extends 'MunicipalesBundle:theme:layout.html.twig' %}\n\n{% block title %}{{ 'consultation.step4.html_title'|trans }}{% endblock %}\n\n{% from 'MunicipalesBundle:macros:steps.html.twig' import steps_widg...
twig
chosen
[ { "from": "system", "value": "Fix typo in userinfo error message" }, { "from": "human", "value": "<style>\n<!--\ntable.check-user {\n border-collapse: collapse;\n}\n\ntable.check-user th,\ntable.check-user td {\n padding: 5px;\n border: solid 1px #cccccc;\n}\n\ntable.check-user th {\n ...
twig
chosen
[ { "from": "system", "value": "Add link on next activities\n" }, { "from": "human", "value": "<div class=\"tournaments-home-next\">\r\n <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n <h2>{{ \"A suivre\"|t }}</h2>\r\n </div>\r\n </div>\r\n <div class=\"row\...
twig
chosen