commit
stringlengths
40
40
old_file
stringlengths
4
264
new_file
stringlengths
4
264
old_contents
stringlengths
0
4.24k
new_contents
stringlengths
1
5.44k
subject
stringlengths
14
778
message
stringlengths
15
9.92k
lang
stringclasses
277 values
license
stringclasses
13 values
repos
stringlengths
5
127k
cdd6a4c139868d7d2357470417a0d440ebf21d5f
app/views/layouts/deck.html.erb
app/views/layouts/deck.html.erb
<!DOCTYPE html> <html> <head> <title>Whiteboard</title> <%= stylesheet_link_tag "deck", :media => "all" %> <%= javascript_include_tag "deck" %> <%= csrf_meta_tags %> <link rel="apple-touch-icon-precomposed" sizes="144x144" href="<%= asset_path 'whiteboard-icon-144x144.png' %>"> <link rel="shortcut icon" ...
<!DOCTYPE html> <html> <head> <title>Whiteboard</title> <%= stylesheet_link_tag "deck", :media => "all" %> <%= javascript_include_tag "deck" %> <%= csrf_meta_tags %> <link rel="apple-touch-icon-precomposed" href="<%= asset_path 'whiteboard-icon.png' %>"> <meta charset="utf-8"> <meta name="viewport" con...
Fix presentation layout to use new favicon
Fix presentation layout to use new favicon [#59499100, #59499212]
HTML+ERB
mit
mikeymc/whiteboard,mikeymc/whiteboard,pivotal/whiteboard,pivotal/whiteboard,pivotal/whiteboard,mikeymc/whiteboard,mikeymc/whiteboard,pivotal/whiteboard
d3e7339fe2af9dbcbf0bbcc9dcf119842fa4d3a6
app/views/orders/index.html.erb
app/views/orders/index.html.erb
<!-- This code isn't final. I need to add logic for an order having multiple items, name, etc --> <% current_user %> <% if !current_user.orders.blank? %> <% current_user.orders.each do |order| %> <!-- Here you should apply code that will Display the name of the order, clickable link for order details et...
<% current_user %> <% if !current_user.orders.blank? %> <% current_user.orders.each do |order| %> <p><%= order.item_id %></p> <% end %> <% end %>
Clean up, remove old comments
Clean up, remove old comments
HTML+ERB
mit
benjaminhyw/rails-online-shop,benjaminhyw/rails-online-shop,benjaminhyw/rails-online-shop
36f29aeaefa4961b76d2913a2e0cd0f61d4c58f5
app/views/partials/_sidebar.erb
app/views/partials/_sidebar.erb
<ul> <li class="all active"> <a ng-href="/">Subscriptions <b>({{ feeds_count }})</b></a> <ul> <li ng-repeat="feed in feeds"> <a ng-href="/#/feeds/{{ feed.id }}" class="feed" data-id="{{ feed.id }}">{{ feed.title }}</a> </li> </ul> </li> </ul>
<ul> <li class="all active"> <a ng-href="/#/feeds">Subscriptions <b>({{ feeds_count }})</b></a> <ul> <li ng-repeat="feed in feeds"> <a ng-href="/#/feeds/{{ feed.id }}" class="feed" data-id="{{ feed.id }}">{{ feed.title }}</a> </li> </ul> </li> </ul>
Add link to view feed settings
Add link to view feed settings
HTML+ERB
mit
sosedoff/reeder,sosedoff/reeder
77857d1f435968cd61df1aab7de1c361d9660082
app/views/devise/mailer/confirmation_instructions.html.erb
app/views/devise/mailer/confirmation_instructions.html.erb
<p>Welcome <%= @email %>!</p> <p>You can confirm your account email through the link below:</p> <p><%= link_to 'Confirm my account', confirmation_url(@resource, confirmation_token: @token) %></p> <% unless @resource.approved? %> <p> Please note, your account still has to be approved by the site administrat...
<h2>Welcome to ReMIT <%= @email %>!</h2> <p>You can confirm your account email through the link below:</p> <p><%= link_to 'Confirm my account', confirmation_url(@resource, confirmation_token: @token) %></p> <h2>What is ReMIT?</h2> <p> The Research Management and Impact Tool (ReMIT) is an open access research man...
Update copy on confirmation mail for new signups
Update copy on confirmation mail for new signups
HTML+ERB
agpl-3.0
mysociety/remit,mysociety/remit,mysociety/remit,mysociety/remit
6f0a8dfc4d710a5e1695bf485ca7985a470ac324
jobs/rabbitmq-server/templates/users.erb
jobs/rabbitmq-server/templates/users.erb
<% if_p('rabbitmq-server.administrators.management.username') do |username| %> RMQ_OPERATOR_USERNAME="<%= username %>" RMQ_OPERATOR_USERNAME="${RMQ_OPERATOR_USERNAME:?must be set}" <% end %> <% if_p('rabbitmq-server.administrators.management.password') do |password| %> RMQ_OPERATOR_PASSWORD="<%= password %>" RMQ_OPERA...
<% if_p('rabbitmq-server.administrators.management.username') do |username| %> RMQ_OPERATOR_USERNAME="<%= Shellwords.escape(username) %>" RMQ_OPERATOR_USERNAME="${RMQ_OPERATOR_USERNAME:?must be set}" <% end %> <% if_p('rabbitmq-server.administrators.management.password') do |password| %> RMQ_OPERATOR_PASSWORD="<%= She...
Use Shellescape to prevent special characters/bash injection
Use Shellescape to prevent special characters/bash injection [#139274045]
HTML+ERB
apache-2.0
pivotal-cf/cf-rabbitmq-release,pivotal-cf/cf-rabbitmq-release,pivotal-cf/cf-rabbitmq-release,pivotal-cf/cf-rabbitmq-release
735f58e2bf23b7ef50feff3a0bb76837242be112
app/views/answers/edit.html.erb
app/views/answers/edit.html.erb
<h1>Editing Answer</h1> <%= form_for [@question, @answer] do |f| %> <p> <%= f.label :body %> <%= f.text_area :body, cols: 30, rows: 15 %> </p> <p> <%= f.submit %> </p> <% end %> <%= link_to '<< back', :back %>
Add edit functionality to answers
Add edit functionality to answers
HTML+ERB
mit
red-spotted-newts-2014/stacksonstacks,red-spotted-newts-2014/stacksonstacks,red-spotted-newts-2014/stacksonstacks
b4421ef64b9bb90274cf8bf6aa74816690ec3f07
app/views/layouts/_nav.html.erb
app/views/layouts/_nav.html.erb
<nav role='navigation' aria-label='global navigation', class='user-nav'> <div class='container'> <div class='row'> <div class='col-sm-12'> <%= link_to image_tag('bd-logo.svg', alt: 'bus detective logo', class: 'user-nav__logo'), root_url %> <ul> <li><%= link_to 'Displays', display ...
<nav role='navigation' aria-label='global navigation', class='user-nav'> <div class='container'> <div class='row'> <div class='col-sm-12'> <%= link_to image_tag('bd-logo.svg', alt: 'bus detective logo', class: 'user-nav__logo'), root_url %> <ul> <li><%= link_to 'Displays', page_pat...
Use Ruby better in the navigation
Use Ruby better in the navigation
HTML+ERB
mit
bus-detective/marketing,bus-detective/marketing,bus-detective/marketing,bus-detective/marketing
dfc059717e1cca445f123476e14d53e065c3c779
modules/govuk_crawler/templates/seed-crawler-wrapper.erb
modules/govuk_crawler/templates/seed-crawler-wrapper.erb
#!/bin/bash set -eu function send_ncsa { # handle the case of not getting as far as running the seeder if [ -z $CODE ]; then CODE=3 OUTPUT="UNKNOWN: seeder-wrapper-script exited before seeder returned an exit code" fi if [ -z $OUTPUT ]; then CODE=3 OUTPUT="UNKNOWN: seed...
#!/bin/bash set -eu function send_ncsa { # unusual ${var+x} construct explained: http://stackoverflow.com/a/13864829 if [ -z ${CODE+x} ]; then CODE=3 OUTPUT="UNKNOWN: seeder-wrapper-script exited before seeder returned an exit code" fi # unusual ${var+x} construct explained: http://sta...
Test whether a variable is set when using set -u
Test whether a variable is set when using set -u You can't just do `[ -z $VAR ]` when bash is running with the -u (nounset) option, because `$VAR` is unset and will cause an error, even though it's an error we want to handle. Instead, we use the `[ -x ${VAR+x} ]` construct where `${VAR+x}` is a parameter expansion wh...
HTML+ERB
mit
alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet
7098db0e9dc33ad97261bda38fd7d3be3b201396
plugins/fb_app/views/fb_app_plugin_page_tab/_config.html.erb
plugins/fb_app/views/fb_app_plugin_page_tab/_config.html.erb
<div id="page-tab-<%= page_tab.id || 'new' %>" class='page-tab'> <h3> <% if page_tab.page_id %> <%= page_tab.name %> <%= button_to_function_without_text 'edit', t('fb_app_plugin.views.myprofile.catalog.see_page'), "jQuery('#edit_tab_'+page_tab.id.to_s).toggle" %> <%# button nil, t('fb_app_plug...
<div id="page-tab-<%= page_tab.id || 'new' %>" class='page-tab'> <h3> <% if page_tab.page_id %> <%= page_tab.name %> <%= button_to_function_without_text 'edit', t('fb_app_plugin.views.myprofile.catalog.see_page'), "jQuery('#edit_tab_"+page_tab.id.to_s+"').toggle()" %> <%# button nil, t('fb_app...
Add button to edit form 2
Add button to edit form 2
HTML+ERB
agpl-3.0
blogoosfero/noosfero,EcoAlternative/noosfero-ecosol,samasti/noosfero,CIRANDAS/noosfero-ecosol,samasti/noosfero,EcoAlternative/noosfero-ecosol,coletivoEITA/noosfero-ecosol,CIRANDAS/noosfero-ecosol,CIRANDAS/noosfero-ecosol,CIRANDAS/noosfero-ecosol,coletivoEITA/noosfero-ecosol,EcoAlternative/noosfero-ecosol,EcoAlternative...
28294fbe7961b72db8626fb8aed6697847b14357
plugins/fb_app/views/fb_app_plugin_page_tab/catalog.html.erb
plugins/fb_app/views/fb_app_plugin_page_tab/catalog.html.erb
<%= render 'load' %> <%= render 'configure_button' %> <div id="product-catalog"> <% if profile and user.present? and (user.is_admin?(environment) or user.is_admin?(profile)) %> <div class="product-catalog-ctrl"> <%= button :add, _('Add product or service'), controller: :manage_products, action: :new, profi...
<%= render 'load' %> <%= render 'configure_button' %> <h1>Vitrine da Economia Solidária</h1> <p class="description">O Seminário resulta de atividades promovidas durante do processo de formação que vem desenvolvido na região Nordeste desde 2009, onde os coletivos estaduais buscam construir sua autonomia, principalmente...
Test possible title and subtitle
Test possible title and subtitle
HTML+ERB
agpl-3.0
blogoosfero/noosfero,blogoosfero/noosfero,samasti/noosfero,blogoosfero/noosfero,blogoosfero/noosfero,CIRANDAS/noosfero-ecosol,samasti/noosfero,EcoAlternative/noosfero-ecosol,CIRANDAS/noosfero-ecosol,coletivoEITA/noosfero-ecosol,CIRANDAS/noosfero-ecosol,coletivoEITA/noosfero-ecosol,CIRANDAS/noosfero-ecosol,samasti/noosf...
42e815f39c6193f67b97536312fc5c0061444599
app/views/search/index.html.erb
app/views/search/index.html.erb
<% content_for :title, "#{@search_term} - Search - GOV.UK" %> <% content_for :body_classes, "search" %> <% content_for :extra_headers do %> <meta name="description" content="Search for '#{@search_term}' on GOV.UK." /> <link rel="alternate" type="application/json" href="/api/search.json?q=<%= @search_term %>">...
<% content_for :title, "#{@search_term} - Search - GOV.UK" %> <% content_for :body_classes, "search" %> <% content_for :extra_headers do %> <meta name="description" content="Search for '<%= @search_term %>' on GOV.UK." /> <link rel="alternate" type="application/json" href="/api/search.json?q=<%= @search_term ...
Fix meta description for search pages
Fix meta description for search pages This was done in https://github.com/alphagov/frontend/pull/1011.
HTML+ERB
mit
alphagov/frontend,alphagov/frontend,alphagov/frontend,alphagov/frontend
bb8c4f7d3b5a83051bb975f3b2fd75f63a735530
app/views/tools/_share.html.erb
app/views/tools/_share.html.erb
<div class="vertical-share"> <b class="small">Now help spread the word:</b> <a href="<%= twitter_share_url(@actionPage) -%>" class="twitter twitter-button" rel="noreferrer"> <div class="sicon" id="stwit"></div> <div class="share-label">Share on Twitter</div> </a> <a href="<%= facebook_share_url(@actionP...
<div class='vertical-share '> <b class='small'>Now help spread the word:</b> <a href='<%= twitter_share_url(@actionPage) -%>' class='twitter twitter-button'> <div class="sicon" id="stwit"></div> <div class="share-label">Share on Twitter</div> </a> <a href="<%= facebook_share_url(@actionPage) -%>" class=...
Revert "Don't pass referrer header to twitter when sharing"
Revert "Don't pass referrer header to twitter when sharing" This reverts commit f3d2faf04a40cc231be920ec033d2644d6a35e39. This link gets picked up by js anyway. We're going to handle it by making the embed link shorter.
HTML+ERB
agpl-3.0
EFForg/action-center-platform,EFForg/action-center-platform,EFForg/action-center-platform,EFForg/action-center-platform
f7d62d32bc1314658e1f5a32f7279840a7ccd57d
lib/supervisord_templates/app.conf.erb
lib/supervisord_templates/app.conf.erb
[unix_http_server] file=/srv/stonepath-example/supervisor.sock [supervisord] logfile=/srv/stonepath-example/supervisord.log logfile_maxbytes=50MB logfile_backups=10 loglevel=error pidfile=/srv/stonepath-example/supervisord.pid nodaemon=false minfds=1024 minprocs=200 [rpcinterface:supervisor] supervisor.rpcinterface_f...
[unix_http_server] file=/srv/fourth-year-project-system/supervisor.sock [supervisord] logfile=/srv/fourth-year-project-system/supervisord.log logfile_maxbytes=50MB logfile_backups=10 loglevel=error pidfile=/srv/fourth-year-project-system/supervisord.pid nodaemon=false minfds=1024 minprocs=200 [rpcinterface:supervisor...
Use the correct application name
supervisor_templates: Use the correct application name
HTML+ERB
mit
WorkflowsOnRails/fourth-year-project-system,WorkflowsOnRails/fourth-year-project-system
58514efaff401e1c3c0f6154350dd0418697e889
app/views/reviews/_form.html.erb
app/views/reviews/_form.html.erb
<% if current_user.nil? %> <%= link_to 'Sign In', new_user_path %> to Comment <% elsif @recipe.user.first_name == current_user.first_name %> <%= form_for [@recipe, @new_review], remote: true do |f| %> <% if signed_in? %> <%= f.text_area :comment, rows: '3', placeholder: "Comment here..." %> <%= f.hi...
<% if current_user.nil? %> <%= link_to 'Create Account', new_user_path %> or <%= link_to 'Log In',login_path %> to Comment <% elsif @recipe.user.first_name == current_user.first_name %> <%= form_for [@recipe, @new_review], remote: true do |f| %> <% if signed_in? %> <%= f.text_area :comment, rows: '3', pla...
Create account or log in link to comment, if anony user on show recipe page
Create account or log in link to comment, if anony user on show recipe page
HTML+ERB
mit
hdwatts/liquor_cabinet,hdwatts/liquor_cabinet,hdwatts/liquor_cabinet
0d1d6e6e0137f51f57fe2f003909aa6b292bf75c
dashboard/views/tests/index.erb
dashboard/views/tests/index.erb
<div class="page-header"> <h1>Tests</h1> <p>Tests are elements or features that you can change or turn off.</p> </div> <% if @tests.any? %> <div class="panel panel-primary"> <div class="panel-heading"> <h3 class="panel-title">Active Tests</h3> </div> <ul class="list-group"> <% @tests.each do |test| %> ...
<div class="page-header"> <h1>Tests</h1> <p>Tests are elements or features that you can change or turn off.</p> </div> <% if @tests.any? %> <div class="panel panel-primary"> <div class="panel-heading"> <h3 class="panel-title">Active Tests</h3> </div> <ul class="list-group"> <% @tests.each do |test| %> ...
Fix copy pasta in text.
Fix copy pasta in text.
HTML+ERB
mit
goldstar/blackbeard,goldstar/blackbeard
c4ba3be6c19e5802a5ee6294c7179ebddf911ce0
backend/app/views/spree/admin/shared/_variant_search.html.erb
backend/app/views/spree/admin/shared/_variant_search.html.erb
<div data-hook="admin_orders_index_search"> <%= form_for :variant_search, url: form_path, method: :get do |f| %> <div class="row"> <div class="field-block col-3"> <div class="field"> <%= label_tag nil, Spree::StockLocation.model_name.human %> <%= select_tag :stock_location_id, op...
<div data-hook="admin_orders_index_search"> <%= form_for :variant_search, url: form_path, method: :get do |f| %> <div class="row"> <div class="field-block col-3"> <div class="field"> <%= label_tag nil, Spree::StockLocation.model_name.human %> <%= select_tag :stock_location_id, op...
Use custom-select for variant search
Use custom-select for variant search
HTML+ERB
bsd-3-clause
pervino/solidus,pervino/solidus,pervino/solidus,pervino/solidus
ac69243763e5dbf850b7ffac46838e8dd8a2c41f
views/layout.erb
views/layout.erb
<!DOCTYPE html> <html> <head> <title>Chef browser</title> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link href="/css/bootstrap-responsive.css" rel="stylesheet" media="screen"> <link href="/css/bootstrap.css" rel="stylesheet" media="screen"> <style> body { ...
<!DOCTYPE html> <html> <head> <title>Chef browser</title> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link href="/css/bootstrap-responsive.css" rel="stylesheet" media="screen"> <link href="/css/bootstrap.css" rel="stylesheet" media="screen"> <style> body { ...
Delete unused piece of code.
Delete unused piece of code.
HTML+ERB
mit
3ofcoins/chef-browser,3ofcoins/chef-browser,3ofcoins/chef-browser
be20795bfb5bce072fe007808d6fae491c94e77d
app/views/reimagine2/devpost/global_nav/_world_menu_entries.html.erb
app/views/reimagine2/devpost/global_nav/_world_menu_entries.html.erb
<li> <%= link_to reimagine_root_url(path: "/software"), class: "main-link", data: { role: "discover" } do %> Projects <% end %> </li> <li> <%= link_to reimagine_root_url(path: "/hackathons"), class: "main-link", data: { role: "discover" } do %> Hackathons <% end %> </li>...
<li> <%= link_to reimagine_root_url(path: "/software"), class: "main-link", data: { role: "discover" } do %> Projects <% end %> </li> <li> <%= link_to reimagine_root_url(path: "/hackathons"), class: "main-link", data: { role: "discover" } do %> Hackathons <% end %> </li>...
Change Teams tab from alpha to nyc.
Change Teams tab from alpha to nyc.
HTML+ERB
mit
challengepost/reimagine,challengepost/reimagine,challengepost/reimagine
d0ef20223ff9ba799cf041ec0ac4fe359991e76e
app/views/refinery/acts_as_indexed/admin/_search.html.erb
app/views/refinery/acts_as_indexed/admin/_search.html.erb
<form method='GET' action='<%= url %>' class='search_form'> <%= text_field :search, nil, :id => 'search', :type => 'search', :name => 'search', :value => params[:search], :title => t('search_input_notice', :scope => 'refinery.admin.search') %> <%= hidden_field :visual_editor, nil, :name => 'visual_editor', :id => n...
<form method='GET' action='<%= url %>' class='search_form'> <%= text_field :search, nil, :id => 'search', :type => 'search', :name => 'search', :value => params[:search], :title => t('search_input_help', :scope => 'refinery.admin.search', :query => h(params[:search])).html_safe, :placeholder => ...
Add a placeholder to the Search field
Add a placeholder to the Search field 1. Add placeholder 2. Make placeholder and title html_safe so that html entities can be used. 3. New i18n string search_input_help used as tootip. Uses wording from old search_input_notice
HTML+ERB
mit
refinery/refinerycms-acts-as-indexed,refinery/refinerycms-acts-as-indexed
b0cbd9034077e178d559537d47f47b460677185f
app/views/admin/attachments/_hoc_reference_fields.html.erb
app/views/admin/attachments/_hoc_reference_fields.html.erb
<%= form.text_field :hoc_paper_number, label_text: 'House of Commons paper number' %> <%= form.label :parliamentary_session %> <%= form.select :parliamentary_session, Attachment.parliamentary_sessions %>
<%= form.text_field :hoc_paper_number, label_text: 'House of Commons paper number' %> <%= form.label :parliamentary_session %> <%= form.select :parliamentary_session, Attachment.parliamentary_sessions, include_blank: true %>
Allow parliamentary session to be unset
Allow parliamentary session to be unset
HTML+ERB
mit
alphagov/whitehall,robinwhittleton/whitehall,hotvulcan/whitehall,alphagov/whitehall,ggoral/whitehall,alphagov/whitehall,hotvulcan/whitehall,askl56/whitehall,YOTOV-LIMITED/whitehall,ggoral/whitehall,YOTOV-LIMITED/whitehall,hotvulcan/whitehall,robinwhittleton/whitehall,YOTOV-LIMITED/whitehall,ggoral/whitehall,hotvulcan/w...
2e62db8f37792600e2ff73d0558db5d76577dd23
app/views/data_requests/print/_final_legal_document_page.tex.erb
app/views/data_requests/print/_final_legal_document_page.tex.erb
<% content = final_legal_document_page.content.to_s %> <% content.gsub!(/[^ ]\#{(\d+)}/m) { |m| @data_request.render_variable_latex(final_legal_document_page, $1) } %> <% content.gsub!(/\#{(\d+)}/m) { |m| @data_request.render_variable_inline_latex(final_legal_document_page, $1) } %> <% content = latex_safe(content) %> ...
<% content = final_legal_document_page.content.to_s %> <% content.gsub!(/[^ ]\#{(\d+)}/m) { |m| @data_request.render_variable_latex(final_legal_document_page, $1) } %> <% content.gsub!(/\#{(\d+)}/m) { |m| @data_request.render_variable_inline_latex(final_legal_document_page, $1) } %> <% content = latex_safe(content) %> ...
Correct quotes for words including dashes
Correct quotes for words including dashes
HTML+ERB
mit
nsrr/www.sleepdata.org,nsrr/www.sleepdata.org,nsrr/www.sleepdata.org
100f93964599ee41a8552d7f954e410751e74863
lib/chef-dk/skeletons/code_generator/templates/default/kitchen.yml.erb
lib/chef-dk/skeletons/code_generator/templates/default/kitchen.yml.erb
--- driver: name: vagrant provisioner: name: chef_zero platforms: - name: ubuntu-12.04 - name: centos-6.4 suites: - name: default run_list: - recipe[<%= cookbook_name %>::default] attributes:
--- driver: name: vagrant provisioner: name: chef_zero platforms: - name: ubuntu-12.04 - name: centos-6.5 suites: - name: default run_list: - recipe[<%= cookbook_name %>::default] attributes:
Update code_generator template to latest centos
Update code_generator template to latest centos RE: https://github.com/opscode/chef-dk/issues/177
HTML+ERB
apache-2.0
philoserf/chef-dk,chef/chef-dk,vinyar/chef-dk,tbunnyman/chef-dk,clintoncwolfe/chef-dk,andrewelizondo/chef-dk,tas50/chef-dk,philoserf/chef-dk,vinyar/chef-dk,tknerr/chef-dk,clintoncwolfe/chef-dk,tas50/chef-dk,jblaine/chef-dk,tonytonyjan/chef-dk,chef/chef-dk,andrewelizondo/chef-dk,tas50/chef-dk,tknerr/chef-dk,jblaine/chef...
11365400e3a6a177f93e0c4e7a05e0d5ec919bd7
app/views/welcome/index.html.erb
app/views/welcome/index.html.erb
<%= render 'requests/new_request_form', request: Request.new %> <%= button_to 'Group Activity', river_path, method: 'get' %> <%= button_to 'Active Requests', active_path, method: 'get' %> <%= button_to 'Your History', history_path, method: 'get' %> <%= button_to 'Moved? Update Your Neighborhood', groups_assign_path, me...
<%= render 'requests/new_request_form', request: Request.new %> <div class='row collapse'> <ul class='button-group even-3 small-12 columns river-nav'> <li><%= button_to 'Community', river_path, method: 'get', class: 'small button river-btn' %></li> <li><%= button_to 'Active', active_path, method: 'get', class: 's...
Format form and button group
Format form and button group
HTML+ERB
mit
kimchanyoung/nghborly,kimchanyoung/nghborly,nyc-mud-turtles-2015/nghborly,nyc-mud-turtles-2015/nghborly,nyc-mud-turtles-2015/nghborly,kimchanyoung/nghborly
47ce0581c901b0c2118cb1cedc6c9a83590fa6b8
modules/govuk/templates/asset_pipeline_extra_nginx_conf.erb
modules/govuk/templates/asset_pipeline_extra_nginx_conf.erb
<% @asset_pipeline_prefixes.each do |prefix| %> location ^~ /<%= prefix %>/ { # Set expires headers for assets # Assets with a digest (32+ char hex string in filename) get max expires # Non-digest assets get 30 mins expires 30m; add_header Cache-Control public; gzip_static on; location ~ ...
<% @asset_pipeline_prefixes.each do |prefix| %> location ^~ /<%= prefix %>/ { # Set expires headers for assets # Assets with a digest (32+ char hex string in filename) get max expires # Non-digest assets get 30 mins expires 30m; add_header Cache-Control public; gzip_static on; location ~ ...
Set cross origin headers on font files only
Set cross origin headers on font files only Previously, when embedding assets using the assets.publishing.service.gov.uk, domain we were setting every single asset with CORS headers to allow them to be used anywhere. In RFC 115 [1] these were identified as only needed for fonts. I believe they are actually only needed...
HTML+ERB
mit
alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet
d02fd12af454240162ca578318f5a4793b41f994
modules/govuk_jenkins/templates/jobs/run_rake_task.yaml.erb
modules/govuk_jenkins/templates/jobs/run_rake_task.yaml.erb
--- - job: name: run-rake-task display-name: Run rake task project-type: freestyle description: "Run a rake task on an application." concurrent: true properties: - build-discarder: days-to-keep: 30 artifact-num-to-keep: 5 builders: - shell: ssh deploy@$(govuk_...
--- - job: name: run-rake-task display-name: Run rake task project-type: freestyle description: "Run a rake task on an application." concurrent: true properties: - build-discarder: days-to-keep: 30 artifact-num-to-keep: 5 builders: - shell: ssh deploy@$(govuk_...
Add `account` to `MACHINE_CLASS` list for run-rake-task
Add `account` to `MACHINE_CLASS` list for run-rake-task
HTML+ERB
mit
alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet
383e35a1d8a13896abf6e8c8e1789713dfc3d1c8
lib/app/views/setup/clojure.erb
lib/app/views/setup/clojure.erb
<h3>Clojure</h3> <h4>Installation:</h4> <ul> <li> Homebrew for Mac OS X <ul> <li>Update your homebrew to latest: <code>brew update</code></li> <li>Install Clojure: <code>brew install clojure</code></li> </ul> </li> <li> Other <ul> <li>Download the latest table release jar f...
<h3>Clojure</h3> <h4>Installation:</h4> <ul> <li> Homebrew for Mac OS X <ul> <li>Update your homebrew to latest: <code>brew update</code></li> <li>Install Leiningen: <code>brew install leiningen</code></li> <li>Install lein-exec: edit <code>~/.lein/profiles.clj</code> and add <code>{:user ...
Add lein-exec instructions for Clojure on OSX
Add lein-exec instructions for Clojure on OSX
HTML+ERB
agpl-3.0
colinrubbert/exercism.io,MBGeoff/Exercism.io-mbgeoff,nathanbwright/exercism.io,hanumakanthvvn/exercism.io,beni55/exercism.io,copiousfreetime/exercism.io,bmulvihill/exercism.io,tejasbubane/exercism.io,Tonkpils/exercism.io,k4rtik/exercism.io,mscoutermarsh/exercism_coveralls,exercistas/exercism.io,praveenpuglia/exercism.i...
32beefc5a147c53d003f5ad5acbacf12f6903597
app/views/smart_answers/shared/_phase_banner.html.erb
app/views/smart_answers/shared/_phase_banner.html.erb
<% if @presenter.present? && @presenter.flow.name === 'next-steps-for-your-business' %> <% feedback_message = capture do %> We’re still building this part of GOV.UK – <%= link_to "give us your feedback (opens in a new tab)", "/done/next-steps-for-your-business", class: "govuk-link", target: ...
<% if @presenter.present? && @presenter.flow.name === 'next-steps-for-your-business' %> <% feedback_message = capture do %> Help improve GOV.UK – <%= link_to "Sign up to take part in user research (opens in a new tab)", "https://signup.take-part-in-research.service.gov.uk/home?utm_campaign=Next_steps_lt...
Replace feedback link with UR link
Replace feedback link with UR link Replace the feedback link and copy used in the phase banner to allow users to sign-up for user research
HTML+ERB
mit
alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers
cfde6db7a587e3c6c523507d104c74338532db3a
plugins/orders_cycle/views/orders_cycle_plugin_order/_delivery.html.erb
plugins/orders_cycle/views/orders_cycle_plugin_order/_delivery.html.erb
<% form_for :order, order, :url => {:action => :confirm, :id => order} do |f| %> <% if order.cycle.delivery_methods.count > 0 %> <div> <h3><%= t('orders_cycle_plugin.views.order._delivery.delivery_method') %></h3> <strong><%= order.supplier_delivery.name %></strong> <div class="subtitle"><%= ord...
<% form_for :order, order, :url => {:action => :confirm, :id => order} do |f| %> <% if order.cycle.delivery_methods.count > 0 %> <div> <h3><%= t('orders_cycle_plugin.views.order._delivery.delivery_method') %></h3> <% if order.supplier_delivery %> <strong><%= order.supplier_delivery.name %></st...
Check if supplier delivery is selected
Check if supplier delivery is selected
HTML+ERB
agpl-3.0
EcoAlternative/noosfero-ecosol,samasti/noosfero,EcoAlternative/noosfero-ecosol,coletivoEITA/noosfero-ecosol,CIRANDAS/noosfero-ecosol,coletivoEITA/noosfero-ecosol,blogoosfero/noosfero,samasti/noosfero,CIRANDAS/noosfero-ecosol,coletivoEITA/noosfero-ecosol,CIRANDAS/noosfero-ecosol,EcoAlternative/noosfero-ecosol,samasti/no...
7751c7de540d1f94f99b03967895dd7018c72430
app/views/admin_censor_rule/index.html.erb
app/views/admin_censor_rule/index.html.erb
<% @title = 'Censor Rules' %> <h1><%= @title %></h1> <%= render :partial => 'show', :locals => { :censor_rules => @censor_rules } %>
<% @title = 'Global Censor Rules' %> <h1><%= @title %></h1> <div class="row"> <div class="span12"> <p class="lead"> This page lists Censor Rules that apply to <em>everything</em> – Requests, Users and Public Bodies. </p> <p> Request, User and Public Body specific censor rules may also ...
Add in-app censor rule help
Add in-app censor rule help
HTML+ERB
agpl-3.0
nzherald/alaveteli,andreicristianpetcu/alaveteli,Br3nda/alaveteli,andreicristianpetcu/alaveteli,andreicristianpetcu/alaveteli_old,Br3nda/alaveteli,Br3nda/alaveteli,andreicristianpetcu/alaveteli_old,nzherald/alaveteli,andreicristianpetcu/alaveteli,andreicristianpetcu/alaveteli_old,nzherald/alaveteli,Br3nda/alaveteli,and...
e37685ec319966dbd6d6336ce0e6257dc7986951
app/views/modules/_metric_results.html.erb
app/views/modules/_metric_results.html.erb
<table class="table table-hover metric_results"> <thead> <th><%= t('activemodel.attributes.metric_result.metric') %></th> <th><%= t('activemodel.attributes.metric_result.value') %></th> <th><%= t('activemodel.attributes.metric_result.weight') %></th> <th><%= t('activemodel.attributes.metric_result.thr...
<table class="table table-hover metric_results"> <thead> <tr> <th><%= t('activemodel.attributes.metric_result.metric') %></th> <th><%= t('activemodel.attributes.metric_result.value') %></th> <th><%= t('activemodel.attributes.metric_result.weight') %></th> <th><%= t('activemodel.attributes....
Fix missing table row in Metric Results view
Fix missing table row in Metric Results view
HTML+ERB
agpl-3.0
MezuroUNB20151/prezento,mezuro/prezento,MezuroUNB20151/prezento,MezuroUNB20151/prezento,mezuro/prezento,mezuro/prezento
d2c8dd8a40237fae65d60519be1baf839765921d
app/views/pages/teacher_resources.html.erb
app/views/pages/teacher_resources.html.erb
<% @active_tab = 'Getting Started' %> <%= render partial: 'pages/shared/discover_tabs', active_tab: @active_tab %> <iframe id="teacher_resources_iframe" src="https://community.quill.org/teacher-resources/" scrolling='no' />
Add back old teacher resources page
Add back old teacher resources page
HTML+ERB
agpl-3.0
empirical-org/Empirical-Core,empirical-org/Empirical-Core,empirical-org/Empirical-Core,empirical-org/Empirical-Core,empirical-org/Empirical-Core,empirical-org/Empirical-Core,empirical-org/Empirical-Core
f17f7e624721689ccf898094df21dd80922ba4da
templates/default/database.yml.erb
templates/default/database.yml.erb
<%= @rails_env %>: adapter: <%= @database['adapter'] %> host: <%= @host %> database: <%= @database['database'] %> username: <%= @database['username'] %> password: <%= @database['password'] %> encoding: <%= @database.has_key?('encoding') ? @database['encoding'] : 'utf8' %> reconnect: true
<%- @databases.each do |env, db| %> <%= (env =~ /_default/ ? "production" : env) %>: adapter: <%= db['adapter'] %> host: <%= @host %> database: <%= db['database'] %> username: <%= db['username'] %> password: <%= db['password'] %> encoding: <%= db.has_key?('encoding') ? db['encoding'] : 'utf8' %> reconnect...
Revert changes to a template that is used only by the legacy recipe.
Revert changes to a template that is used only by the legacy recipe. This is a partial revert of 2ebd9c61d5fef505711382f00d90a177aa46176a
HTML+ERB
apache-2.0
cookbooks/oc-application,poise/application,chenliu0831/application,h4ck3rm1k3/application,edmunds-chef/application,javrasya/application,SocialCentivPublic/application,hussainaphroj/application
e998ceb1e3138acb41294a6d4381a77d972833a5
templates/default/puma_stop.sh.erb
templates/default/puma_stop.sh.erb
#!/usr/bin/env bash . /etc/rc.d/init.d/functions APPNAME="<%= @name %>" APP_DIR="<%= @directory %>" PUMA_DIR="$APP_DIR/shared/puma" PIDFILE="$APP_DIR/shared/pids/$APPNAME.pid" cleanup() { rm -f $PUMA_DIR/$APPNAME*.{pid,state,sock} } # Kill process if [ -e $PIDFILE ]; then echo -n "Shutting down $APPNAME.." k...
#!/usr/bin/env bash . /etc/rc.d/init.d/functions APPNAME="<%= @name %>" APP_DIR="<%= @directory %>" PUMA_DIR="$APP_DIR/shared/puma" PIDFILE="$APP_DIR/shared/pids/$APPNAME.pid" cleanup() { rm -f $PUMA_DIR/$APPNAME*.{pid,state,sock} rm -f $PIDFILE } # Kill process if [ -e $PIDFILE ]; then echo -n "Shutting dow...
Clean up the pidfile since init.d isn't doing that anymore
Clean up the pidfile since init.d isn't doing that anymore
HTML+ERB
mit
sportngin-cookbooks/opsworks-puma,sportngin-cookbooks/opsworks-puma,sportngin-cookbooks/opsworks-puma
3a315dc334cf353c3461fd7084ffee89d9cbe895
app/views/spree/admin/authentication_methods/_form.html.erb
app/views/spree/admin/authentication_methods/_form.html.erb
<p data-hook="environment"> <td><%= label_tag nil, t(:environment) %></td> <td> <%= collection_select(:authentication_method, :environment, Spree::Configuration.configurations.keys, :to_s, :titleize, {}) %> </td> </p> <%= auth_form.field_container :provider do %> <%= auth_form.label :provider, t(:social_pr...
<p data-hook="environment"> <td><%= label_tag nil, t(:environment) %></td> <td> <%= collection_select(:authentication_method, :environment, Rails.configuration.database_configuration.keys, :to_s, :titleize, {}) %> </td> </p> <%= auth_form.field_container :provider do %> <%= auth_form.label :provider, t(:so...
Use the Rails.configuration for fetching the available env values.
Use the Rails.configuration for fetching the available env values.
HTML+ERB
bsd-3-clause
denniscastro/spree_social,gogo52cn/spree_social,DynamoMTL/spree_social,spark-solutions/spree_social,groundctrl/spree_social,andreteves/spree_social,denniscastro/spree_social,andreteves/spree_social,paywithamazon/spree_social,supherman/spree_social,groundctrl/spree_social,spark-solutions/spree_social,Johann-dotgee/spree...
c0baf49b4e556d32692af1938a54d55db9f45809
lib/harbor/commands/skeletons/default/views/home/index.html.erb
lib/harbor/commands/skeletons/default/views/home/index.html.erb
<h1>Welcome to Harbor <span>You're all set to go!</span></h1> <p class="feature">Congratulations on creating your first Harbor application! Now you should be ready to dive in, and here are some resources to get you started:</p> <h2>What Am I?</h2> <p>I'm just a default view to help you get started. I live in <kbd>vie...
<h1>Welcome to Harbor <span>You're all set to go!</span></h1> <p class="feature">Congratulations on creating your first Harbor application! Now you should be ready to dive in, and here are some resources to get you started:</p> <h2>What Am I?</h2> <p>I'm just a default view to help you get started. I live in <kbd>vie...
Fix default index page not rendering app_name
Fix default index page not rendering app_name
HTML+ERB
mit
sam/harbor,sam/harbor
43ec36a58c5c772c248cf3c59db4b8ed032decdf
templates/index.erb
templates/index.erb
<%# Borrowed from http://rubyrss.org %> <h4><a href="<%= rss.channel.link %>"><%= rss.channel.title %></a></h4> <p><%= rss.channel.description %></p> <ol> <% rss.items.each do |item| %> <li><%= item.title %></li> <% end %> </ol>
<html><head> <title>Pummel - Auto tumble your pinboard.in links!</title> </head><body> <h4><a href="<%= rss.channel.link %>"><%= rss.channel.title %></a></h4> <p><%= rss.channel.description %></p> <ol> <% rss.items.each do |item| %> <li> <% begin oemb = OEmbed::Providers.get(item.link) case oemb.field('...
Use Ruby-OEmbed to do the tumbling
Use Ruby-OEmbed to do the tumbling Messing around with it now shows the API is far from perfect, and I have a few ideas on how to make it better...
HTML+ERB
agpl-3.0
evaryont/pummel
0199fcfee1f422aff2794791aa8531e663c29d30
app/views/auth/login.html.erb
app/views/auth/login.html.erb
<% content_for :title, "Photoplop" %> <div class="login"> <section class="intro_blurb"> <%= image_tag("Photoplop_Logo.png", size: "350x150", alt: "photoplop logo") %> <h3>Snap It. Plop It. Share It.</h3> <p>Build photo albums with your <%= group %>. </p> </section> <span class="login-form small-12 medium-...
<% content_for :title, "Photoplop" %> <div class="login"> <section class="intro_blurb"> <%= image_tag("Photoplop_Logo.png", size: "350x150", alt: "photoplop logo") %> <h3>Snap It. Plop It. Share It.</h3> <p>Build photo albums with your <%= group %>. </p> </section> <div class="row"><span class="small-12 m...
Fix centering of login form
Fix centering of login form
HTML+ERB
mit
chi-fiddler-crabs-2015/Photo-Plop,chi-fiddler-crabs-2015/Photo-Plop,chi-fiddler-crabs-2015/Photo-Plop
03bacea779facc6b5874872884e7da00251abf44
app/views/polls/edit.html.erb
app/views/polls/edit.html.erb
<div class="row"> <div class="span12 main"> <div class="grouptitle">Lower Northeast &rsaquo; #2 &rsaquo; Edit</div> <%= render 'form' %> </div> </div>
<div class="row"> <div class="span12 main"> <div class="grouptitle">Lower Northeast &rsaquo; <%= @poll.title %> &rsaquo; Edit</div> <%= render 'form' %> </div> </div>
Include nickname in Edit Poll breadcrumb
Include nickname in Edit Poll breadcrumb
HTML+ERB
bsd-3-clause
codeforamerica/textizen,codeforamerica/textizen,codeforamerica/textizen
380eb25c60c5a2dae368df3128aa9a47cc0d97b3
app/views/root/place.html.erb
app/views/root/place.html.erb
<%= render layout: 'base_page', locals: { title: @publication.title, publication: @publication, edition: @edition, } do %> <section class="intro"> <div class="get-started-intro"> <div class="find-nearest"> <%= raw @publication.introduction %> <%= render partial: 'location_form', loc...
<%= render layout: 'base_page', locals: { title: @publication.title, publication: @publication, edition: @edition, } do %> <section class="intro"> <div class="get-started-intro"> <div class="find-nearest"> <%= raw @publication.introduction %> <%= render partial: 'location_form', loc...
Add GA tracking for results shown with data module
Add GA tracking for results shown with data module We implement GA tracking with data modules as described in govuk_frontend_toolkit (https://github.com/alphagov/govuk_frontend_toolkit/blob/master/docs/javascript.md#modules). We use the `auto-track-event` module defined in govuk_frontend_toolkit (https://github.com/al...
HTML+ERB
mit
alphagov/frontend,alphagov/frontend,alphagov/frontend,alphagov/frontend
e58ab9341bfd266332df558d0ed66d5519d10cb3
templates/jenkins-job-yaml.erb
templates/jenkins-job-yaml.erb
<%- require 'yaml' def escape_quotes(s) substr = s substr = s[1..-1] if s[0].eql?('"') substr.gsub!(/"/){ '\"' } "\"#{substr}\"" end def sort_yaml(obj, nest=0) yaml_string = "" if obj.instance_of?(Array) obj.each do |element| if element.instance_of...
<%- require 'yaml' def escape_quotes(s) substr = s substr = s[1..-1] if s[0].eql?('"') substr.gsub!(/"/){ '\"' } "\"#{substr}\"" end def sort_yaml(obj, nest=0) yaml_string = "" if obj.instance_of?(Array) obj.each do |element| if element.instance_of...
Undo e3401da - it produces spurious job: output
Undo e3401da - it produces spurious job: output
HTML+ERB
mit
gdhbashton/puppet-jenkins_job_builder,gdhbashton/puppet-jenkins_job_builder
09b75c929089a47d45d6d6cbceaa587e5d305431
app/views/mailer/changeset_added.html.erb
app/views/mailer/changeset_added.html.erb
<p><%= l(:diff_email_body) %></p> <ul> <li><strong><%= l(:label_project) %></strong>: <%= h(@project.name) %></li> <li><strong><%= l(:field_assigned_to) %></strong>: <%= h(@author_s) %></li> <li><strong><%= l(:label_revision) %></strong>: <%= link_to @changeset.revision, @changeset_url %></li> </ul> <hr> <...
<p><%= l(:diff_email_body) %></p> <ul> <li><strong><%= l(:label_project) %></strong>: <%= h(@project.name) %></li> <li><strong><%= l(:field_assigned_to) %></strong>: <%= h(@author_s) %></li> <li><strong><%= l(:label_revision) %></strong>: <%= link_to @changeset.revision, @changeset_url %></li> </ul> <hr> <...
Put diff at bottom in mail
Put diff at bottom in mail
HTML+ERB
mit
cou2jpn/redmine_diff_email,cou2jpn/redmine_diff_email,cou2jpn/redmine_diff_email
30c2e366bd46df6ed0e0f1e2c9e9c7eefb9dbab9
templates/fwd_zone_file.erb
templates/fwd_zone_file.erb
$ORIGIN <%= @name -%>. $TTL <%= @ttl -%> @ SOA <%= @nameservers[0] -%>. hostmaster.<%= @name -%>. ( serialnumber ; Serial Number <%= @refresh -%> ; Refresh <%= @retry -%> ; Retry <%= @expire -%> ; Expire <%= @negresp -%> ; Neg response TTL ) <%...
$ORIGIN <%= @name -%>. $TTL <%= @ttl -%> @ SOA <%= @nameservers[0] -%>. hostmaster.<%= @name -%>. ( serialnumber ; Serial Number <%= @refresh -%> ; Refresh <%= @retry -%> ; Retry <%= @expire -%> ; Expire <%= @negresp -%> ; Neg response TTL ) <%...
Add support for txt record
Add support for txt record
HTML+ERB
mit
covermymeds/puppet-bind,covermymeds/puppet-bind
e6bc942292b7a8ad0602b628209b8ee8d785937a
app/views/events/index.html.erb
app/views/events/index.html.erb
<%= render "shared/nav" %> <% @events&.each_slice(3) do |events| %> <div class="row"> <% events.each do |event| %> <div class="col s12 m4"> <div class="card"> <div class="card-image"> <img src="<%= event.image_url %>"> <span class="card-title"><%= event.name %></span> ...
<%= render "shared/nav" %> <% @events&.each_slice(3) do |events| %> <div class="row"> <% events.each do |event| %> <div class="col s12 m4"> <div class="card"> <div class="card-image"> <img src="<%= event.image_url.blank? ? 'https://res.cloudinary.com/dkbwcwx1s/image/upload/v1528827293...
Set default image for events without image URL
Set default image for events without image URL
HTML+ERB
mit
berlin-international-community-church/church-database,berlin-international-community-church/church-database,berlin-international-community-church/church-database,berlin-international-community-church/church-database
9dc94f2e2eb67fb00b12972f405938116611b74b
app/views/graphs/index.html.erb
app/views/graphs/index.html.erb
<h3>Reports by hour</h3> <div class="btn-group" style="float:right"> <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> Action <span class="caret"></span> </button> <ul class="dropdown-menu"> <li><a href="#">Action</a></li> ...
<h3>Reports by hour</h3> <%= line_chart Post.where("created_at >= :date", :date => 1.week.ago).group_by_hour(:created_at).count %> <h3>Reports by site</h3> <%= pie_chart Post.all.group(:site).count.map{ |k,v| {(k.nil? ? "Unknown" : CGI.unescape(k.site_name))=>v} }.reduce(:merge).select{|k,v| k != "Unknown"}.sort_by ...
Add global site pie chart
Add global site pie chart
HTML+ERB
cc0-1.0
j-f1/forked-metasmoke,Charcoal-SE/metasmoke,angussidney/metasmoke,j-f1/forked-metasmoke,Charcoal-SE/metasmoke,SulphurDioxide/metasmoke,angussidney/metasmoke,Charcoal-SE/metasmoke,angussidney/metasmoke,angussidney/metasmoke,j-f1/forked-metasmoke,Charcoal-SE/metasmoke,SulphurDioxide/metasmoke,SulphurDioxide/metasmoke,j-f...
7c3859b079e0aef05e11427d6af07ca758e2e844
app/views/taxons/index.html.erb
app/views/taxons/index.html.erb
<%= display_header title: 'Taxons', breadcrumbs: ['Taxons'] do %> <%= link_to 'Add a taxon', new_taxon_path, class: 'btn btn-lg btn-default' %> <% end %> <table> <tr> <th>Title</th> <th></th> <th></th> </tr> <% taxons.each do |taxon| %> <tr> <td><%= taxon['title'] %></td> <td><%= link_to 'View tagged...
<%= display_header title: 'Taxons', breadcrumbs: ['Taxons'] do %> <%= link_to 'Add a taxon', new_taxon_path, class: 'btn btn-lg btn-default' %> <% end %> <table> <tr> <th>Title</th> <th>Content ID</th> <th></th> <th></th> </tr> <% taxons.each do |taxon| %> <tr> <td><%= taxon['title'] %></td> <td><%...
Add content ID to taxon index page
Add content ID to taxon index page Makes this view a useful reference table.
HTML+ERB
mit
alphagov/content-tagger,alphagov/content-tagger,alphagov/content-tagger
5453d563c031970a6056c40395fcb8dcde191e80
app/views/topics/index.html.erb
app/views/topics/index.html.erb
<h1>Listing topics</h1> <table> <thead> <tr> <th>Title</th> <th>Description</th> <th></th> <th></th> <th></th> </tr> </thead> <tbody> <% @topics.each do |topic| %> <tr> <td><%= topic.title %></td> <td><%= topic.description %></td> <td><%= p...
<h1>Listing topics</h1> <table> <thead> <tr> <th>Title</th> <th></th> <th></th> <th></th> </tr> </thead> <tbody> <% @topics.each do |topic| %> <tr> <td><%= link_to topic.title, topic %></td> <td><%= pluralize(topic.votes.count, "vote") %></td> <t...
Remove description, link to title
Remove description, link to title
HTML+ERB
mit
jaw6/super-suggestotron,jaw6/super-suggestotron
f256bff0d6c1e05e0eb49d866e646bacab4a1404
app/views/booking_requests/_hidden_inputs_for_calendars.html.erb
app/views/booking_requests/_hidden_inputs_for_calendars.html.erb
<div class="hidden--js-enabled"> <% #byebug; :wtf %> <% 3.times do |i| %> <% if f.object.next_slot_to_fill == i.to_s %> <%= single_field( f, :"option_#{i}", :select, slot_options_reflecting_existing_selections(f.object), { include_blank: true }, class: 'Slot...
<div class="hidden--js-enabled"> <% #byebug; :wtf %> <% 3.times do |i| %> <% if f.object.next_slot_to_fill == i.to_s %> <%= single_field( f, :"option_#{i}", :select, slot_options_reflecting_existing_selections(f.object), { include_blank: t("remove_slot", scope: 'booki...
Add non-js remove slot option label
Add non-js remove slot option label
HTML+ERB
mit
ministryofjustice/prison-visits-public,ministryofjustice/prison-visits-public,ministryofjustice/prison-visits-public,ministryofjustice/prison-visits-public
9df6408ec7fffd83c7c56e143798c282da559e92
app/views/layouts/no-dashboard.html.erb
app/views/layouts/no-dashboard.html.erb
<!DOCTYPE html> <html> <head> <title>RailsGirlsSubmissions</title> <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %> <%= stylesheet_link_tag 'https://fonts.googleapis.com/css?family=Lato:400,300,700&subset=latin,latin-ext' %> <%= javascript_include_tag 'application', 'da...
<!DOCTYPE html> <html> <head> <title>RailsGirlsSubmissions</title> <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %> <%= stylesheet_link_tag 'https://fonts.googleapis.com/css?family=Lato:400,300,700&subset=latin,latin-ext' %> <%= javascript_include_tag 'application', 'da...
Move settings out of an additional table
Move settings out of an additional table
HTML+ERB
mit
LunarLogic/rails-girls-submissions,LunarLogic/rails-girls-submissions,LunarLogic/rails-girls-submissions
d289c84536c44a68063e01b7eedccf7d224036d7
cookbooks/rails/templates/default/app_passenger_nginx.conf.erb
cookbooks/rails/templates/default/app_passenger_nginx.conf.erb
server { listen <%= node['nginx']['port'] || '80' %>; server_name <%= @domain_names.join(' ') %>; root <%= node['rails']['applications_root'] %>/<%= @name %>/current/public; passenger_enabled on; } <% if @enable_ssl %> server { listen 443 ssl; ssl_certificate <%= node['rails']['applications_root'] %>/<...
server { listen <%= node['nginx']['port'] || '80' %>; server_name <%= @domain_names.join(' ') %>; root <%= node['rails']['applications_root'] %>/<%= @name %>/current/public; passenger_enabled on; } <% if @enable_ssl %> server { listen 443 ssl; ssl_certificate <%= node['rails']['applications_root'] %>/<...
Fix SSL support with Phusion Passenger by adding a ;
Fix SSL support with Phusion Passenger by adding a ;
HTML+ERB
mit
multunus/chef-repo,intercity/chef-repo,czhc/chef-repo,berkes/chef-repo,czhc/chef-repo,dprabu17/chef-repo,czhc/chef-repo,czhc/chef-repo
1841a5f9db62a5a90a8af792c8bbfffffec79739
dev-env/puppet/modules/akvo-flow/templates/build.properties.erb
dev-env/puppet/modules/akvo-flow/templates/build.properties.erb
sdk.dir=/akvo-flow-env/appengine-java-sdk-1.7.4 email.address=user@example.com gwt.entrypoint.class= gwtlibs.dir=/akvo-flow-env/gwt-2.3.0 keystore.password=password keystore.alias=alias keystore.dir=somepath/filename.keystore appengine.sdk.home=/akvo-flow-env/appengine-java-sdk-1.7.4
sdk.dir=/akvo-flow-env/appengine-java-sdk-1.7.5 email.address=user@example.com gwt.entrypoint.class= gwtlibs.dir=/akvo-flow-env/gwt-2.3.0 keystore.password=password keystore.alias=alias keystore.dir=somepath/filename.keystore appengine.sdk.home=/akvo-flow-env/appengine-java-sdk-1.7.5
Update Puppet template with the 1.7.5 App Engine SDK
Update Puppet template with the 1.7.5 App Engine SDK
HTML+ERB
agpl-3.0
akvo/akvo-flow,akvo/akvo-flow,akvo/akvo-flow,akvo/akvo-flow,akvo/akvo-flow
ac52db3847d95b8768f614ed8e3f027095686ebe
cookbooks/travis_build_environment/templates/default/sshd_config.erb
cookbooks/travis_build_environment/templates/default/sshd_config.erb
# Managed by Chef! :heart_eyes_cat: # See the sshd_config(5) manpage for details Port 22 ListenAddress 0.0.0.0 ListenAddress :: Protocol 2 HostKey /etc/ssh/ssh_host_rsa_key HostKey /etc/ssh/ssh_host_dsa_key HostKey /etc/ssh/ssh_host_ecdsa_key UsePrivilegeSeparation yes KeyRegenerationInterval 3600 ServerKeyBits 7...
# vim:filetype=sshconfig # Managed by Chef! :heart_eyes_cat: # See the sshd_config(5) manpage for details Port 22 ListenAddress 0.0.0.0 ListenAddress :: Protocol 2 HostKey /etc/ssh/ssh_host_rsa_key HostKey /etc/ssh/ssh_host_dsa_key HostKey /etc/ssh/ssh_host_ecdsa_key UsePrivilegeSeparation yes KeyRegenerationInte...
Allow X11 forwarding from outside localhost
Allow X11 forwarding from outside localhost Closes #868
HTML+ERB
mit
travis-ci/travis-cookbooks,ljharb/travis-cookbooks,ljharb/travis-cookbooks,spurti-chopra/travis-cookbooks,spurti-chopra/travis-cookbooks,travis-ci/travis-cookbooks,spurti-chopra/travis-cookbooks,ljharb/travis-cookbooks,travis-ci/travis-cookbooks
36dd73a2522cda5b923163aa48c630dc12c6705a
app/views/root/related.raw.html.erb
app/views/root/related.raw.html.erb
<% if artefact %> <!-- related --> <div class="related-positioning"> <div class="related-container"> <div class="related"> <div class="inner group"> <h2>Related topics</h2> <nav role="navigation"> <ul> <% if artefact["related_items"].any? %> <% artefact[...
<% if artefact %> <!-- related --> <div class="related-positioning"> <div class="related-container"> <div class="related"> <div class="inner group"> <h2>Other people found these pages useful:</h2> <nav role="navigation"> <ul> <% if artefact["related_items"].any? %> ...
Change the label on the related box. It's not right but it's a start
Change the label on the related box. It's not right but it's a start
HTML+ERB
mit
kalleth/static,tadast/static,alphagov/static,kalleth/static,alphagov/static,tadast/static,tadast/static,robinwhittleton/static,kalleth/static,robinwhittleton/static,kalleth/static,robinwhittleton/static,robinwhittleton/static,tadast/static,alphagov/static
ce6f41a0decfddd0501973f7de9a1cf6db7f6852
modules/govuk_jenkins/templates/jobs/failure_passive_check.yaml.erb
modules/govuk_jenkins/templates/jobs/failure_passive_check.yaml.erb
--- - job: name: Failure_Passive_Check display-name: Failure_Passive_Check project-type: freestyle description: "This job should be used to send a passive check to Icinga with a FAILED status. As such this should only be used as a triggered build for a FAILED (or unstable) condition." pr...
--- - job: name: Failure_Passive_Check display-name: Failure_Passive_Check project-type: freestyle description: "This job should be used to send a passive check to Icinga with a FAILED status. As such this should only be used as a triggered build for a FAILED (or unstable) condition." pr...
Change the failure passive check Jenkins job to use ipaddress_eth0
Change the failure passive check Jenkins job to use ipaddress_eth0 To match the success passive check job, as there can be problems with the ipaddress fact when using Docker on the machine.
HTML+ERB
mit
alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet
3a9785e279e4cfdb5ab18857189f6bd6a02d360c
core/app/views/spree/shipment_mailer/shipped_email.text.erb
core/app/views/spree/shipment_mailer/shipped_email.text.erb
Dear Customer, Your order has been shipped ============================================================ Shipment Summary ============================================================ <% @shipment.line_items.each do |item| %> <%= item.variant.sku %> <%= item.variant.product.name %> <%= variant_options(item.variant, :...
Dear Customer, Your order has been shipped ============================================================ Shipment Summary ============================================================ <% @shipment.manifest.each do |item| %> <%= item.variant.sku %> <%= item.variant.product.name %> <%= variant_options(item.variant, :in...
Fix for inaccurate shipment confirmation email.
Fix for inaccurate shipment confirmation email. Use Shipment#manifest instead of Shipment#line_items in shipment confirmation email for better representation of what was shipped [Fixes #1867]
HTML+ERB
bsd-3-clause
tailic/spree,jaspreet21anand/spree,sliaquat/spree,judaro13/spree-fork,Antdesk/karpal-spree,project-eutopia/spree,robodisco/spree,shioyama/spree,KMikhaylovCTG/spree,madetech/spree,camelmasa/spree,jasonfb/spree,madetech/spree,piousbox/spree,cutefrank/spree,tancnle/spree,yiqing95/spree,mindvolt/spree,yomishra/pce,pervino/...
03245f0012bcfd82a056c2f693a21339b2395701
lib/generators/active_admin/resource/templates/admin.rb.erb
lib/generators/active_admin/resource/templates/admin.rb.erb
ActiveAdmin.register <%= class_name %> do # See permitted parameters documentation: # https://github.com/activeadmin/activeadmin/blob/master/docs/2-resource-customization.md#setting-up-strong-parameters # # permit_params :list, :of, :attributes, :on, :model # # or # # permit_params do # permitted = [:permitted, :attr...
ActiveAdmin.register <%= class_name %> do # See permitted parameters documentation: # https://github.com/activeadmin/activeadmin/blob/master/docs/2-resource-customization.md#setting-up-strong-parameters # # permit_params :list, :of, :attributes, :on, :model # # or # # permit_params do # permitted = ...
Fix indent of permitted parameters boilerplate code
Fix indent of permitted parameters boilerplate code
HTML+ERB
mit
javierjulio/activeadmin,mrjman/activeadmin,mrjman/activeadmin,activeadmin/activeadmin,deivid-rodriguez/activeadmin,vraravam/activeadmin,activeadmin/activeadmin,javierjulio/activeadmin,javierjulio/activeadmin,deivid-rodriguez/activeadmin,vraravam/activeadmin,deivid-rodriguez/activeadmin,activeadmin/activeadmin,mrjman/ac...
e11f22926ade2b73eeff6b733a3f8f5ce04e89f1
app/views/calculators/leave_pot_untouched/_form.html.erb
app/views/calculators/leave_pot_untouched/_form.html.erb
<% form = local_assigns[:form] errors = form&.errors %> <h2 id="calculator">Estimate how much your pot could grow</h2> <%= render 'calculators/error_summary', messages: errors&.messages if form&.invalid? %> <form action="/leave-pot-untouched/estimate#form" method="get"> <%= render 'calculators/form_input_curre...
<% form = local_assigns[:form] errors = form&.errors %> <h2 id="calculator">Estimate how much your pot could grow</h2> <%= render 'calculators/error_summary', messages: errors&.messages if form&.invalid? %> <form action="/leave-pot-untouched/estimate#form" method="get"> <%= render 'calculators/form_input_curre...
Use question style for leave pot untouched form labels
Use question style for leave pot untouched form labels
HTML+ERB
mit
guidance-guarantee-programme/pension_guidance,guidance-guarantee-programme/pension_guidance,guidance-guarantee-programme/pension_guidance
d47856c39031e77fdf33f186f85cd05ccc05c3bf
templates/default/configure_appengine.erb
templates/default/configure_appengine.erb
#!/usr/bin/env bash function help { echo "usage: $NAME [shell_name]" echo "shell_name: name of your shell, default to \$SHELL" error } function error () { msg=$1 if [[ msg ]]; then echo $msg fi exit 1 } if [ $# -eq 0 ]; then shellname=$SHELL elif [ $# -eq 1 ]; then if [ `which $1` &> /dev/null...
#!/usr/bin/env bash function help { echo "usage: $NAME [shell_name]" echo "shell_name: name of your shell, default to \$SHELL" error } function error () { msg=$1 if [[ msg ]]; then echo $msg fi exit 1 } if [ $# -eq 0 ]; then shellname=$SHELL elif [ $# -eq 1 ]; then if [ `which $1` &> /dev/null...
Fix Correctly update gae path
Fix Correctly update gae path
HTML+ERB
apache-2.0
optimizely/gae-cookbook,anler/gae-cookbook
df4dfadf1fa1539656311bbaea673b15ee3f089f
vendor/plugins/refinery/app/views/shared/_site_bar.html.erb
vendor/plugins/refinery/app/views/shared/_site_bar.html.erb
<div id='site_bar'> <div id='site_bar_content' class='clearfix'> <div id='editor_switch'> <% if admin? %> <%= link_to "Switch to live view", begin request.request_uri.to_s.match(/\/admin(.*)\/edit/)[1] rescue "/" end %> <% else %> <%= link_to "Switch to editor view", (request.request_u...
<div id='site_bar'> <div id='site_bar_content' class='clearfix'> <div id='editor_switch'> <% if admin? (r = ::ActionController::TestRequest.new(request.env)).path = (request.request_uri.to_s.match(/\/admin(.*)\/edit/)[1] rescue root_url) public_route = ((c = ActionController::Rou...
Support jumping straight to the correct page in the refinery backend/frontend using the site bar.
Support jumping straight to the correct page in the refinery backend/frontend using the site bar.
HTML+ERB
mit
simi/refinerycms,gwagener/refinerycms,chrise86/refinerycms,aguzubiaga/refinerycms,LytayTOUCH/refinerycms,clanplaid/wow.clanplaid.net,hoopla-software/refinerycms,KingLemuel/refinerycms,Eric-Guo/refinerycms,louim/refinerycms,refinery/refinerycms,pcantrell/refinerycms,mabras/refinerycms,Retimont/refinerycms,KingLemuel/ref...
3f0301287a657e9e7a140dafd31df2b6d08f175c
lib/domgen/imit/templates/enumeration.erb
lib/domgen/imit/templates/enumeration.erb
/* DO NOT EDIT: File is auto-generated */ package <%= enumeration.data_module.imit.entity_package %>; <%= description_javadoc_for(enumeration, "") %>@javax.annotation.Generated( "Domgen" ) @SuppressWarnings( { "UnusedDeclaration", "JavaDoc" } ) public enum <%= enumeration.imit.name %> implements java.io.Serial...
/* DO NOT EDIT: File is auto-generated */ package <%= enumeration.data_module.imit.data_type_package %>; <%= description_javadoc_for(enumeration, "") %>@javax.annotation.Generated( "Domgen" ) @SuppressWarnings( { "UnusedDeclaration", "JavaDoc" } ) public enum <%= enumeration.imit.name %> implements java.io.Serializa...
Remove double indent for values after the first
Remove double indent for values after the first
HTML+ERB
apache-2.0
william-ml-leslie/domgen,icaughley/domgen,realityforge/domgen,realityforge/domgen,icaughley/domgen
71603d472c3303883f93c42f09ce3e6fc1f9d14d
lib/smart_answer_flows/check-uk-visa/outcomes/outcome_tourism_visa_partner.erb
lib/smart_answer_flows/check-uk-visa/outcomes/outcome_tourism_visa_partner.erb
<% text_for :title do %> You’ll need a visa to come to the UK <% end %> <% govspeak_for :body do %> The visa you need depends on your partner or family member’s situation. ## They’re a British citizen In most cases, you should apply for a [Standard Visitor visa](/standard-visitor-visa). You should [apply ...
<% text_for :title do %> You’ll usually need a visa to come to the UK <% end %> <% govspeak_for :body do %> In most cases, you must apply for a [Standard Visitor visa](/standard-visitor-visa). ##When you might not need a visa You may be able to apply to come to the UK for free instead of paying for a visa if...
Clarify tourism options for visa nationals with family & no Article 10/20
Clarify tourism options for visa nationals with family & no Article 10/20 Adds information about the EU Settlement Scheme.
HTML+ERB
mit
alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers
663cb543a8f3d82c48c999da4ce22b18792146e0
app/views/layouts/_flash.html.erb
app/views/layouts/_flash.html.erb
<% unless flash.empty? %> <div id="flash-messages"> <% flash.each do |key, value| %> <div class="<%= flash_class(key) %> alert-dismissable"> <div class="container"> <button type="button" class="close" data-dismiss="alert" data-target=".alert-dismissable">&times;</button> <i class...
<% unless flash.empty? %> <div id="flash-messages"> <% flash.each do |key, value| %> <div class="<%= flash_class(key) %> alert-dismissable"> <div class="container"> <button type="button" class="close" data-dismiss="alert" data-target=".alert-dismissable">&times;</button> <span cl...
Update icons in notification code
Update icons in notification code
HTML+ERB
agpl-3.0
asm-helpful/helpful-web,asm-helpful/helpful-web,asm-helpful/helpful-web,asm-helpful/helpful-web
f2043199af530a505de07ea96b4e3f4f98365fee
app/views/settings/index.html.erb
app/views/settings/index.html.erb
<div class="l-wrapper-narrow"> <%= render 'form', { settings: settings } %> </div>
<div class="l-wrapper-narrow"> <%= link_to '← Back', submissions_path, class: "link-return" %> <%= render 'form', { settings: settings } %> </div>
Add arrow moving user to submissions list in settings
Add arrow moving user to submissions list in settings
HTML+ERB
mit
LunarLogic/rails-girls-submissions,LunarLogic/rails-girls-submissions,LunarLogic/rails-girls-submissions
8e3855e630cf97bbee2219c12546aebab223c052
app/views/widgets/issues.html.erb
app/views/widgets/issues.html.erb
<div class="hdo-issue-widget"> <h2><%= @issue.title %></h2> <ul> <% @parties.each do |party| %> <li><%= @issue.stats.text_for(party) %></li> <% end %> </ul> </div>
<div class="hdo-issue-widget"> <h2><%= @issue.title %></h2> <p><%= @issue.description %></p> <ul> <% @parties.each do |party| %> <li><%= @issue.stats.text_for(party) %></li> <% end %> </ul> </div>
Add description to issue widget.
Add description to issue widget.
HTML+ERB
bsd-3-clause
holderdeord/hdo-site,holderdeord/hdo-site,holderdeord/hdo-site,holderdeord/hdo-site
0e70c065c02d4610bc8f388cbfbfdf3dd2dd3d6b
app/views/answers/update.js.erb
app/views/answers/update.js.erb
var _id = '#<%= @answer.class.to_s.underscore %>-<%= @answer.id %>'; <% if @error -%> Util.alert('<%= @msg %>', _id + " > div:first") <% else -%> $("#edit_answer_form_modal").hide(); $(_id).find(".answer-content").html('<%= escape_javascript(markdown(@answer.body)) %>') Util.notice('<%= @msg %>', _id + " > div...
var _id = '#<%= @answer.class.to_s.underscore %>-<%= @answer.id %>'; <% if @error -%> Util.alert('<%= @msg %>', _id + " > div:first") <% else -%> $("#edit_answer_form_modal").modal('hide'); $(_id).find(".answer-content").html('<%= escape_javascript(markdown(@answer.body)) %>'); $(_id).find(".edit-answer-form")...
Fix bugs of modal content not keep the latest answer content.
Fix bugs of modal content not keep the latest answer content.
HTML+ERB
mit
jameszhan/ask-ruby,jameszhan/ask-ruby
9256ec07ca4b5a29ebbf9f6246f98f6ec97e9464
app/views/catalog/show.html.erb
app/views/catalog/show.html.erb
<div id="content" class="col-md-9 col-sm-8 show-document"> <%= render 'previous_next_doc' %> <% @page_title = t('blacklight.search.show.title', :document_title => document_show_html_title, :application_name => application_name).html_safe -%> <% content_for(:head) { render_link_rel_alternates } -%> <%# this sho...
<div id="content" class="col-md-9 col-sm-8 show-document"> <%= render 'previous_next_doc' %> <% @page_title = t('blacklight.search.show.title', :document_title => document_show_html_title, :application_name => application_name).html_safe -%> <% content_for(:head) { render_link_rel_alternates } -%> <%# this sho...
Move COInS element inside document element on show page
Move COInS element inside document element on show page
HTML+ERB
mit
dtulibrary/ddf,dtulibrary/ddf,dtulibrary/ddf
1843192b20d0ca55415895e879589ac329e109b1
app/views/friends/edit.html.erb
app/views/friends/edit.html.erb
<div id="top-bar"> </div> <div id="main-content"> <h1>Editing friend</h1> <%= form_for :friend, url: friend_path(@friend), method: :put do |f| %> <% if @friend.errors.any? %> <div id="error_explanation"> <h2> <%= pluralize(@friend.errors.count, "error") %> prevented this friend from being sav...
Add edit friend and route in controller
Add edit friend and route in controller
HTML+ERB
mit
ShawnTe/guardian,ShawnTe/guardian,ShawnTe/guardian
f02f4b278201d95789d6ebcc1fe3b88daf502934
lib/georgia_recipes/templates/puma.rb.erb
lib/georgia_recipes/templates/puma.rb.erb
#!/usr/bin/env puma # start puma with: # RAILS_ENV=production bundle exec puma -C ./config/puma.rb application_path = "<%= current_path %>" railsenv = "<%= rails_env %>" directory application_path environment railsenv daemonize true pidfile "#{application_path}/tmp/pids/puma-#{railsenv}.pid" state_path "#{application...
#!/usr/bin/env puma # start puma with: # RAILS_ENV=production bundle exec puma -C ./config/puma.rb application_path = "<%= current_path %>" railsenv = "<%= rails_env %>" directory application_path environment railsenv daemonize true pidfile "#{application_path}/tmp/pids/puma.pid" state_path "#{application_path}/tmp/p...
Remove rails_env from puma pid & state file names
Remove rails_env from puma pid & state file names
HTML+ERB
mit
georgia-cms/georgia_recipes,georgia-cms/georgia_recipes,georgia-cms/georgia_recipes
f8bf813456e8e48dcb514d009830c7c0165c230e
app/views/questions/show.erb
app/views/questions/show.erb
<div class="container"> <div class="question-title debugger"> <h1><%= @question.title %></h1> </div> <div class="debugger question-body"> <div class="question-sidebar"> <!-- put in votes, upvote buttons, and best answer check mark --> </div> <div class="question-content"> <p><%= @quest...
<div class="container"> <div class="question-title debugger"> <h1><%= @question.title %></h1> </div> <div class="debugger question-body"> <div class="question-sidebar"> <!-- put in votes, upvote buttons, and best answer check mark --> </div> <div class="question-content"> <p><%= @quest...
Add comments to question view
Add comments to question view
HTML+ERB
mit
chi-dragonflies-2015/TheJetsPresentStackOverflow,chi-dragonflies-2015/TheJetsPresentStackOverflow,chi-dragonflies-2015/TheJetsPresentStackOverflow
cbf1daa4facd08c1e44cf804944ac3350f0660cd
app/views/users/new.html.erb
app/views/users/new.html.erb
<h3 class="error-heading"> <% if current_user %> <%= @current_user.errors.messages if @current_user.errors.messages.any? %> <% end %> </h3> <h1>Sign your copy of the book</h1> <ul> <%= form_for users_path do |f| %> <li> <%= f.label :username %> <%= f.text_field :username %> </li> <li> <%= f.la...
Build signup form with error handling.
Build signup form with error handling.
HTML+ERB
mit
lukert33/project_raleigh_rails_implementation,lukert33/project_raleigh_rails_implementation
9e190f5bc985f43a44797af42c78319a3f65a4ff
app/views/context/admin/pages/show.html.erb
app/views/context/admin/pages/show.html.erb
<h2><%= @page.name %></h2> <%= link_to "Edit Page", edit_context_admin_page_path(@page) %> <%= @page.body %>
<h2><%= @page.name %></h2> <p><%= page_url(@page) %></p> <%= link_to "Edit Page", edit_context_admin_page_path(@page) %><br> <%= @page.body %>
Add linebreak after edit page link
Add linebreak after edit page link
HTML+ERB
mit
reinteractive/context,reinteractive/context
0c275adff6aff399214ce5164274e8181bb56c34
app/views/devise/registrations/new.html.erb
app/views/devise/registrations/new.html.erb
<div class="container"> <div class="row"> <div class="col-md-6 col-md-offset-3"> <h2>Sign up</h2> <hr> <%= devise_error_messages! %> <%= form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f| %> <div class="form-gro...
<div class="container"> <div class="row"> <div class="col-md-6 col-md-offset-3"> <h2>Sign up</h2> <hr> <%= devise_error_messages! %> <%= form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f| %> <div class="form-gro...
Add sign in link to sign up form.
Add sign in link to sign up form.
HTML+ERB
mit
francisbrito/sarah_rails,francisbrito/sarah_rails
8d72ebd5e41ef1c6ec3a09c2879546edc02beb92
app/views/notifications/challenged.text.erb
app/views/notifications/challenged.text.erb
<%= @challenger.name %> has challenged you on <%= @tournament.name %>. Failure to respond within 7 days will result in losing by default. Once you have played your game, follow the link to log your response: <%= @challenger.name %> on <%= @tournament.name %> <%= challenge_url @challenge %>
<%= @challenger.name %> has challenged you on <%= @tournament.name %><% if @challenge.message.present? %>: === <%= @challenge.message %> === <% else %>.<% end %> Failure to respond within 7 days will result in losing by default. Once you have played your game, follow the link to log your response: <%= @challenger.na...
Add challenge message to email
Add challenge message to email
HTML+ERB
mit
proglottis/ladder,Gigaicon/ladder,proglottis/ladder,Gigaicon/ladder,proglottis/ladder,Gigaicon/ladder
c079f16d5838a27b81b6577fb097096252e8f69e
app/views/canvas/_tags.html.erb
app/views/canvas/_tags.html.erb
<div class="tags-container pull-right"> <% tags2 = my_module.tags[0..3] %> <% tags2.each do |tag| %> <div style="color: <%= tag.color %>" class="<%= "last" if tag == tags2[-1] %> help_tooltips" data-tooltiplink="<%= I18n.t('tooltips.link.task.color_tag') %>" data-tooltipcontent="<%= I...
<div class="tags-container pull-right help_tooltips" data-tooltiplink="<%= I18n.t('tooltips.link.task.color_tag') %>" data-tooltipcontent="<%= I18n.t('tooltips.text.task.color_tag') %>" > <% tags2 = my_module.tags[0..3] %> <% tags2.each do |tag| %> <div style="color: <%= tag.color %>" class="<%= ...
Fix the tooltips positioning on canvas
Fix the tooltips positioning on canvas
HTML+ERB
mpl-2.0
Ducz0r/scinote-web,mlorb/scinote-web,mlorb/scinote-web,Ducz0r/scinote-web,Ducz0r/scinote-web,mlorb/scinote-web
47877f1bcdc55a2fa460dc6dbe688313b5657d09
app/views/pages/_cards.html.erb
app/views/pages/_cards.html.erb
<h3 class="title"><%= t("welcome.cards.title") %></h3> <div class="row" data-equalizer data-equalizer-on="medium"> <% @cards.find_each do |card| %> <%= render "card", card: card %> <% end %> </div>
<div class="row" data-equalizer data-equalizer-on="medium"> <% @cards.find_each do |card| %> <%= render "card", card: card %> <% end %> </div>
Remove unnecessary title on page cards
Remove unnecessary title on page cards
HTML+ERB
agpl-3.0
consul/consul,consul/consul,consul/consul,usabi/consul_san_borondon,usabi/consul_san_borondon,consul/consul,AyuntamientoPuertoReal/decidePuertoReal,AyuntamientoMadrid/participacion,AyuntamientoMadrid/participacion,AyuntamientoPuertoReal/decidePuertoReal,AyuntamientoPuertoReal/decidePuertoReal,AyuntamientoMadrid/partici...
982eb8c9e31ed4054110e7145ffe7927b0f1214a
app/views/panels/_edit.html.erb
app/views/panels/_edit.html.erb
<div class="panel" id="<%= panel.id %>"> <div class="panel-heading"> <div class="panel-holder"> <a data-toggle="collapse" data-parent="#accordion" href="#collapse<%= panel.id %>">Panel <%= index + 1 %></a> </div> </div> <div id="collapse<%= panel.id %>" class="panel-collapse collapse"> <div clas...
<div class="panel" id="<%= panel.id %>"> <div class="panel-heading"> <div class="panel-holder"> <a data-toggle="collapse" data-parent="#accordion" href="#collapse<%= panel.id %>">Panel <%= index + 1 %></a> </div> </div> <div id="collapse<%= panel.id %>" class="panel-collapse collapse"> <div clas...
Fix bug on method submission
Fix bug on method submission
HTML+ERB
mit
dma315/ambrosia,dma315/ambrosia,dma315/ambrosia
c4067966094c97cd30e1816aeb395fd2519a86fd
app/views/recipe/index.html.erb
app/views/recipe/index.html.erb
<h1>Recipes</h1> <% @recipes.each do |recipe| %> <%= link_to recipe.name, view_recipe_path(recipe.id) %><br> <% end %>
<h1>Recipes</h1> <% @recipes.each do |recipe| %> <%= link_to recipe.name, view_recipe_path(recipe.id) %><br> <% end %> <p> <%= link_to 'Add New Recipe', new_recipe_path %> </p>
Add a link to create a new recipe
Add a link to create a new recipe
HTML+ERB
mit
stephnacios/recipebox,stephnacios/recipebox,stephnacios/recipebox
3329631b2e394863fe69b3ddc8cfd18c980a9cc3
app/views/calendar/_calendar_head.html.erb
app/views/calendar/_calendar_head.html.erb
<% content_for :title, @calendar.title %> <% content_for :head do %> <meta name="description" content="<%= @calendar.description %>"> <link rel="alternate" type="application/json" href="<%= calendar_path(@calendar, :format => :json) %>" /> <% @calendar.divisions.each do |division| %> <link rel="alternate" ty...
<% content_for :title, @calendar.title %> <% content_for :head do %> <meta name="description" content="<%= @calendar.description %>"> <link rel="alternate" type="application/json" href="<%= calendar_path(@calendar, :format => :json) %>" /> <% @calendar.divisions.each do |division| %> <link rel="alternate" ty...
Add schema.org data via the new component
Add schema.org data via the new component This uses the new component built in https://github.com/alphagov/govuk_publishing_components/pull/318. https://trello.com/c/RLQI1IUV
HTML+ERB
mit
alphagov/calendars,alphagov/calendars,alphagov/calendars,alphagov/calendars
51b9c643227bcd588c3e15404e575b7b7c75191c
app/views/recommended_posts/index.html.erb
app/views/recommended_posts/index.html.erb
<div class="banner-container"> <div class="hero-wrapper"> <header class="hero"> <div class="profile-info"> <h1 class="hero-title"><%= @user.username %></h1> <p class="hero-description"><%= @user.description %></p> </div> <div class="hero-avatar"> <%= avatar_for @user, siz...
<div class="banner-container" data-animation="fadeInUp-fadeOutDown-slow"> <div class="hero-wrapper"> <header class="hero"> <div class="profile-info"> <h1 class="hero-title"><%= @user.username %></h1> <p class="hero-description"><%= @user.description %></p> </div> <div class="hero...
Add animation recommended posts page
Add animation recommended posts page
HTML+ERB
mit
aamin005/Firdowsspace,aamin005/Firdowsspace,aamin005/Firdowsspace,dev-warner/Revinyl-Product,dev-warner/Revinyl-Product,kenny-hibino/stories,kenny-hibino/stories,kenny-hibino/stories,dev-warner/Revinyl-Product
3cd72f314242ac34307267746dcab651f964abb6
cookbooks/scheduler/templates/default/schedule_rs_run_recipe.erb
cookbooks/scheduler/templates/default/schedule_rs_run_recipe.erb
<% if node[:platform] != "windows" -%> #!/bin/bash <% end -%> <% @params["recipes"].each do |recipe| -%> rs_run_recipe -n <%= recipe["recipe"] %> <%= if recipe["json_file"] != "" then "-j #{recipe["json_file"]}" end %> <% end -%>
<% if node[:platform] != "windows" -%> #!/bin/bash <% end -%> <% @params["recipes"].each do |recipe| -%> rs_run_recipe -n <%= recipe["recipe"] %> <%= if recipe["json_file"] then "-j #{recipe["json_file"]}" end %> <% end -%>
Check for nil rather than empty string
Check for nil rather than empty string
HTML+ERB
apache-2.0
rgeyer/cookbooks
ff4028c1ab2420f98fd584c83002fe78e02a6681
modules/govuk_jenkins/templates/jobs/check_content_store.yaml.erb
modules/govuk_jenkins/templates/jobs/check_content_store.yaml.erb
--- - job: name: check-content-store display-name: Check content-store content project-type: freestyle description: | This job checks for invalid content in the content-store logrotate: numToKeep: 30 artifactDaysToKeep: 3 triggers: - timed: '40 * * * *' builders: ...
--- - job: name: check-content-store display-name: Check content-store content project-type: freestyle description: | This job checks for invalid content in the content-store logrotate: numToKeep: 30 artifactDaysToKeep: 3 triggers: - timed: '40 * * * *' builders: ...
Use shallow clone for content schemas in consistency task
Use shallow clone for content schemas in consistency task This makes cloning the repo a lot faster, because it has a lot of history. https://trello.com/c/FesP8XSc
HTML+ERB
mit
alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet
01665ef3fe9f652f7fe8030ee2d8d9161f5c0772
lib/smart_answer_flows/maternity-paternity-calculator/_spp_claim_link.govspeak.erb
lib/smart_answer_flows/maternity-paternity-calculator/_spp_claim_link.govspeak.erb
<% case leave_type %> <% when 'paternity' %> The latest date for them to [claim SPP](/employers-paternity-pay-leave/notice-period) is usually 15 days before they want it to start. <% when 'paternity_adoption' %> The latest date for them to [claim SPP](/employers-paternity-pay-leave/adoption) is usually 15 days be...
<% case leave_type %> <% when 'paternity' %> The latest date for them to [claim SPP](/employers-paternity-pay-leave/notice-period) is usually 15 days before they want it to start. <% when 'paternity_adoption' %> The latest date for them to [claim SPP](/employers-paternity-pay-leave/adoption) is usually 15 days be...
Add missing phrase for maternity-paternity-calculator
Add missing phrase for maternity-paternity-calculator The text was supplied by @lutgendorff. This adds a useful phrase when `leave_type == 'adoption'`. Before converting to ERB, a `leave_type` of 'adoption' resulted in the "adoption_spp_claim_link" placeholder appearing in the outcome page. See the following URL fo...
HTML+ERB
mit
alphagov/smart-answers,stwalsh/smart-answers,stwalsh/smart-answers,stwalsh/smart-answers,alphagov/smart-answers,alphagov/smart-answers,aledelcueto/smart-answers,aledelcueto/smart-answers,aledelcueto/smart-answers,stwalsh/smart-answers,aledelcueto/smart-answers,alphagov/smart-answers
f061c0e60ae4b35dd8ca2d7d5df90fc94c072f8f
app/views/interaction_web_tools/partials/_chat.html.erb
app/views/interaction_web_tools/partials/_chat.html.erb
<div class='chat'> <div class='chat-controls'> <%= link_to 'Customer support', '#', class: 'chat-start' %> <%= link_to '&times;'.html_safe, '#', class: 'chat-stop' %> </div> <div class='chat-body'> <div class='chat-messages'> </div> <%= form_tag nil, class: 'chat-message-form' do %> <%...
<div class='chat'> <div class='chat-controls'> <%= link_to t(:customer_service), '#', class: 'chat-start' %> <%= link_to '&times;'.html_safe, '#', class: 'chat-stop' %> </div> <div class='chat-body'> <div class='chat-messages'> </div> <%= form_tag nil, class: 'chat-message-form' do %> ...
Change customer service text to i18n in partial
Change customer service text to i18n in partial
HTML+ERB
mit
folkia/interaction_web_tools_rails,folkia/interaction_web_tools_rails,folkia/interaction_web_tools_rails
2ef34d39c9187f972e47a07eb521b110a7039810
files/graylog-cookbooks/graylog/templates/default/sv-elasticsearch-run.erb
files/graylog-cookbooks/graylog/templates/default/sv-elasticsearch-run.erb
#!/bin/sh exec 2>&1 umask 077 ulimit -n 65536 ulimit -l unlimited sysctl -w vm.max_map_count=262144 export ES_HOME=<%= @options[:install_directory] %>/elasticsearch export ES_JAVA_OPTS=" -server -Xms<%= @options[:max_memory] %> -Xmx<%= @options[:max_memory] %> -Djava.net.preferIPv4Stack=true -XX:+UseParNewGC ...
#!/bin/sh exec 2>&1 umask 077 ulimit -n 65536 ulimit -l unlimited sysctl -w vm.max_map_count=262144 export ES_HOME=<%= @options[:install_directory] %>/elasticsearch export ES_JAVA_OPTS=" -server -Xms<%= @options[:max_memory] %> -Xmx<%= @options[:max_memory] %> -Djava.net.preferIPv4Stack=true -Dlog4j2.disable....
Add back setting to disable JMX in log4j 2
Add back setting to disable JMX in log4j 2 If the setting is missing, Log4j 2 (used in Elasticsearch 5.x) will try to register MBeans, which fails due to JMX being disabled. Refs #46 Refs #48
HTML+ERB
apache-2.0
radykal-com/omnibus-graylog2,radykal-com/omnibus-graylog2,Graylog2/omnibus-graylog2,radykal-com/omnibus-graylog2,Graylog2/omnibus-graylog2,Graylog2/omnibus-graylog2,radykal-com/omnibus-graylog2,Graylog2/omnibus-graylog2
c377624137aa54b5f95547fd82ebe8b59b84a300
app/views/device/events.html.erb
app/views/device/events.html.erb
<ol> <%@events.each do |event|%> <li>Mac Address:<%=event.macaddress%><br> RSSI:<%=event.rssi%><br> Visited:<%=event.updates%><br> </li> <%end%> </ol>
<h1>Total Mac Addresses: <%=@events.count%></h1> <ol> <%@events.each do |event|%> <li>Mac Address:<%=event.macaddress%><br> RSSI:<%=event.rssi%><br> Visited:<%=event.updates%><br> </li> <%end%> </ol>
Add count of mac addresses to view
Add count of mac addresses to view
HTML+ERB
mit
FifthSurprise/DeviceSniffer,FifthSurprise/DeviceSniffer,FifthSurprise/DeviceSniffer,FifthSurprise/DeviceSniffer,FifthSurprise/DeviceSniffer,FifthSurprise/DeviceSniffer
4cf912a4e912ca0a8cb60ef9293da6f8357ecc32
app/views/listings/show.html.erb
app/views/listings/show.html.erb
<h1><%= listing.title %></h1> <P>Location: <%= listing.location %></p> <P>Price: $ <%= listing.price %></p> <P><%= listing.content %></p> <P>Contact: <%= listing.owner_email %></p>
<h1><%= listing.title %></h1> <p>belongs to <%= listing.category.title %></p> <P>Location: <%= listing.location %></p> <P>Price: $ <%= listing.price %></p> <P><%= listing.content %></p> <P>Contact: <%= listing.owner_email %></p>
Add category in a single listing view.
Add category in a single listing view.
HTML+ERB
mit
haileyR/Craigslist-Sr.,haileyR/Craigslist-Sr.
45bf851969e2455d1438773e70c4406a9af243d4
app/views/hierarchical_responses/answers/_answer_set.html.erb
app/views/hierarchical_responses/answers/_answer_set.html.erb
<div class="form-field answer-field qtype-<%= set.questioning.qtype.name %> <%= context.read_only? ? "read-only" : "editable" %> <%= set.children.any?(&:lengthy?) ? "lengthy" : "" %>"> <% unless context.read_only? %> <%= hidden_field_tag context.input_name(:id), set.id %> <%= hidden_f...
<div class="form-field answer-field qtype-<%= set.questioning.qtype.name %> <%= context.read_only? ? "read-only" : "editable" %> <%= set.children.any?(&:lengthy?) ? "lengthy" : "" %>"> <% unless context.read_only? %> <%= hidden_field_tag context.input_name(:id), set.id %> <%= hidden_f...
Fix bug in answer set partial
8540: Fix bug in answer set partial
HTML+ERB
apache-2.0
thecartercenter/elmo,thecartercenter/elmo,thecartercenter/elmo
c14fdaac56abcc9af9ccd705f236aa3df52ef5fe
lib/domgen/ejb/templates/abstract_service_test.java.erb
lib/domgen/ejb/templates/abstract_service_test.java.erb
/* DO NOT EDIT: File is auto-generated */ package <%= to_package(repository.ejb.qualified_abstract_service_test_name) %>; @java.lang.SuppressWarnings( { "UnusedDeclaration" } ) @javax.annotation.Generated( "Domgen" ) public abstract class <%= repository.ejb.abstract_service_test_name %> extends <%= repository.jpa? ?...
/* DO NOT EDIT: File is auto-generated */ package <%= to_package(repository.ejb.qualified_abstract_service_test_name) %>; @java.lang.SuppressWarnings( { "UnusedDeclaration" } ) @javax.annotation.Generated( "Domgen" ) public abstract class <%= repository.ejb.abstract_service_test_name %> extends <%= repository.jpa? ?...
Make it easy to customize the services module in same way it is easy to customize entity modules
Make it easy to customize the services module in same way it is easy to customize entity modules
HTML+ERB
apache-2.0
realityforge/domgen,icaughley/domgen,icaughley/domgen,realityforge/domgen
4c6c1f6c0fae5d817fd31430d484a512964253ca
lib/docubot/writers/chm/hhp.erb
lib/docubot/writers/chm/hhp.erb
[OPTIONS] Compatibility=1.1 or later Compiled file="<%=FileUtils.win_path @chm_path%>" Contents file="<%=FileUtils.win_path @hhc%>" Index file="<%=FileUtils.win_path @hhk%>" <%if @default_topic%>Default topic=<%=FileUtils.win_path(File.basename(@html_path)/@default_topic.html_path)%> <%end%>Display compile progre...
[OPTIONS] Compatibility=1.1 or later Compiled file="<%=FileUtils.win_path @chm_path%>" Contents file="<%=FileUtils.win_path @hhc%>" Index file="<%=FileUtils.win_path @hhk%>" <%if @default_topic%>Default topic=<%=FileUtils.win_path(File.basename(@html_path)/@default_topic.page.html_path)%> <%end%>Display compile p...
Fix HHP generation for default topics.
Fix HHP generation for default topics.
HTML+ERB
mit
Phrogz/docubot,Phrogz/docubot
3108e3966be1d724fe45097e4596dad7963d6666
modules/grafana/templates/dashboards/deployment_panels/_links.json.erb
modules/grafana/templates/dashboards/deployment_panels/_links.json.erb
{ "content": "<ul style=\"font-size: 20px;\">\n<li><a target=\"_blank\" href=\"https://sentry.io/govuk/app-<%= @app_name %>/\">Errors for for <%= @app_name %> (Sentry)</a></li>\n<li><a target=\"_blank\" href=\"https://errbit.<%= @app_domain %>/\">Errbit</a></li>\n<li><a target=\"_blank\" href=\"https://alert.<%= @app...
{ "content": "<ul style=\"font-size: 20px;\">\n<li><a target=\"_blank\" href=\"https://sentry.io/govuk/app-<%= @app_name %>/\">Errors for <%= @app_name %> (Sentry)</a></li>\n<li><a target=\"_blank\" href=\"https://errbit.<%= @app_domain %>/\">Errbit</a></li>\n<li><a target=\"_blank\" href=\"https://alert.<%= @app_dom...
Fix Sentry link in Grafana dashboards
Fix Sentry link in Grafana dashboards Removes duplicate 'for'.
HTML+ERB
mit
alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet
19aedbcbc9ba1bbc00857fcffd000d633b5b797d
generators/paperclip/templates/paperclip_migration.rb.erb
generators/paperclip/templates/paperclip_migration.rb.erb
class <%= migration_name %> < ActiveRecord::Migration def change <% attachments.each do |attachment| -%> add_column :<%= class_name.underscore.camelize.tableize %>, :<%= attachment %>_file_name, :string add_column :<%= class_name.underscore.camelize.tableize %>, :<%= attachment %>_content_type, :string ad...
class <%= migration_name %> < ActiveRecord::Migration def self.up <% attachments.each do |attachment| -%> add_column :<%= class_name.underscore.camelize.tableize %>, :<%= attachment %>_file_name, :string add_column :<%= class_name.underscore.camelize.tableize %>, :<%= attachment %>_content_type, :string a...
Revert "Updated migration generator template."
Revert "Updated migration generator template." Rails 3.0.x doesn't support new migration style This reverts commit b7bfdec3b07cb348431510a3b400a40c110088c0.
HTML+ERB
mit
tiegz/paperclip,Sporky023/paperclip,Cohealo/paperclip,joshisa/paperclip,gfvcastro/paperclip,joshisa/paperclip,InesCARodrigues/paperclip,InesCARodrigues/paperclip,justanshulsharma/paperclip,sopheak-se/paperclip,pandamako/paperclip,mdkalish/paperclip,felipemathies/paperclip,soramugi/paperclip,crowdtap/paperclip,justanshu...
208b1be59b5cb85e19a1edc06133bb0aeaf18940
api/app/views/club_application_mailer/application_confirmation.text.erb
api/app/views/club_application_mailer/application_confirmation.text.erb
Hey <%= @application.first_name %>! Thanks for applying to Hack Club. We've received your application and you can expect to hear from us shortly. If you have any questions, please don't hesitate to email me at zach@hackclub.com. Below is a copy of your application for your records. <%= render "club_application/club_a...
Hey <%= @application.first_name %>! Thanks for applying to Hack Club. We've received your application and you can expect to hear from us shortly. If you have any questions, please don't hesitate to email the team at team@hackclub.com. Below is a copy of your application for your records. <%= render "club_application/...
Change Zach's email to the team@ email
Change Zach's email to the team@ email
HTML+ERB
mit
hackclub/api,hackclub/api,hackclub/api
6bbe8c3bc0787d1761864eef3fd567db56b5ff9a
lib/ember/appkit/rails/templates/rails/welcome/index.html.erb
lib/ember/appkit/rails/templates/rails/welcome/index.html.erb
<!DOCTYPE html> <html> <head> <title>WickedContacts</title> <%= stylesheet_link_tag "application", media: "all" %> <%= javascript_include_tag "application" %> <%= csrf_meta_tags %> </head> <body> <%= yield %> </body> </html>
<!DOCTYPE html> <html> <head> <title>Ember Appkit Rails</title> <%= stylesheet_link_tag "application", media: "all" %> <%= javascript_include_tag "application" %> <%= csrf_meta_tags %> </head> <body> <%= yield %> </body> </html>
Fix title on Ember Appkit Rails welcome page * Change title from WickedContacts to Ember Appkit Rails
Fix title on Ember Appkit Rails welcome page * Change title from WickedContacts to Ember Appkit Rails
HTML+ERB
mit
tomdale/ember-appkit-rails,DavyJonesLocker/ember-appkit-rails,DavyJonesLocker/ember-appkit-rails,tomdale/ember-appkit-rails
91f9e000cac2a3b61f902bb5ada64f5b3413c189
lib/generators/templates/counter_culture_migration.rb.erb
lib/generators/templates/counter_culture_migration.rb.erb
class <%= migration_class_name %> < ActiveRecord::Migration def self.up <% counter_cache_columns.each do |column| %> add_column :<%= table_name %>, :<%= column %>, :integer, :null => false, :default => 0 <% end %> end def self.down <% counter_cache_columns.each do |column| %> remove_column :<%= table_na...
class <%= migration_class_name %> < ActiveRecord::Migration def self.up<% counter_cache_columns.each do |column| %> add_column :<%= table_name %>, :<%= column %>, :integer, null: false, default: 0 <% end %> end def self.down<% counter_cache_columns.each do |column| %> remove_column :<%= table_name %>, :<...
Change generated migration files to use new hash syntax
Change generated migration files to use new hash syntax Because it's almost 2018. Fixes #203
HTML+ERB
mit
magnusvk/counter_culture,magnusvk/counter_culture
fd854e1dde433fba7e0eb9e4deb367d9296246c6
lib/views/backend/spree/layouts/admin/_login_nav.html.erb
lib/views/backend/spree/layouts/admin/_login_nav.html.erb
<% if spree_current_user %> <ul id="login-nav" class="inline-menu"> <li data-hook="user-logged-in-as"><%= Spree.t(:logged_in_as) %>: <%= spree_current_user.email %></li> <li data-hook="user-account-link" class='fa fa-user'><%= link_to Spree.t(:account), spree.edit_user_path(spree_current_user) %></li> <li...
<% if spree_current_user %> <ul id="login-nav" class="inline-menu"> <li data-hook="user-logged-in-as"><%= Spree.t(:logged_in_as) %>: <%= spree_current_user.email %></li> <li data-hook="user-account-link" class='fa fa-user'><%= link_to Spree.t(:account), spree.edit_user_path(spree_current_user) %></li> <li...
Change admin logout path to use the admin namespaced logout path
Change admin logout path to use the admin namespaced logout path
HTML+ERB
bsd-3-clause
formrausch/spree_auth_devise,formrausch/spree_auth_devise
3d7c57c91caeecc648a32c9798c914c69e491e13
app/views/locations/show.html.erb
app/views/locations/show.html.erb
<% content_for(:page_title, "#{@location.name} - Pension Wise") %> <% content_for(:meta_description, "Find out the address, booking hours and how to book a Pension Wise appointment at the #{@location.name}") %> <h1 class="t-name"><%= @location.name %></h1> <h2 class="heading-small">Address</h2> <p class="t-address"><...
<% content_for(:page_title, "#{@location.name} - Pension Wise") %> <% content_for(:meta_description, "Find out the address, booking hours and how to book a Pension Wise appointment at the #{@location.name}") %> <h1 class="t-name"><%= @location.name %></h1> <h2 class="heading-small">Address</h2> <div class="t-address"...
Format location address over multiple lines
Format location address over multiple lines
HTML+ERB
mit
guidance-guarantee-programme/pension_guidance,guidance-guarantee-programme/pension_guidance,guidance-guarantee-programme/pension_guidance
47f8dd5ba75f975404e95afe70c95c7555305065
app/views/shared/_header.html.erb
app/views/shared/_header.html.erb
<header class="header"> <div class="l-container"> <%= image_tag('mas-logo.svg', size: "216x36", alt: "the Money Advice Service") %> </div> </header>
<header class="header"> <div class="l-container"> <%= image_tag('mas-logo.png', size: "216x36", alt: "the Money Advice Service") %> </div> </header>
Replace svg logo with png logo.
Replace svg logo with png logo.
HTML+ERB
mit
moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend
6916694a94b72ab88bb52119e482cbbe674e2764
plugins/fb_app/views/fb_app_plugin_page_tab/_configure_profile.html.erb
plugins/fb_app/views/fb_app_plugin_page_tab/_configure_profile.html.erb
<%= f.text_field :profile_ids, "data-placeholder" => t('fb_app_plugin.views.page_tab.profile.placeholder'), onchange: 'fb_app.page_tab.config.profile.onchange($(this))' %> <%= javascript_tag do %> jQuery(document).ready(function() { var selector = '#page-tab-<%= page_tab.id || 'new' %> #config-type-profile #pag...
<%= f.label t("fb_app_plugin.views.myprofile.catalogs.profile_chooser_label") %> <%= f.text_field :profile_ids, "data-placeholder" => t('fb_app_plugin.views.page_tab.profile.placeholder'), onchange: 'fb_app.page_tab.config.profile.onchange($(this))' %> <%= javascript_tag do %> jQuery(document).ready(function() { ...
Add labels for catalog settings 2
Add labels for catalog settings 2
HTML+ERB
agpl-3.0
blogoosfero/noosfero,samasti/noosfero,blogoosfero/noosfero,samasti/noosfero,EcoAlternative/noosfero-ecosol,CIRANDAS/noosfero-ecosol,coletivoEITA/noosfero-ecosol,coletivoEITA/noosfero-ecosol,blogoosfero/noosfero,CIRANDAS/noosfero-ecosol,samasti/noosfero,EcoAlternative/noosfero-ecosol,blogoosfero/noosfero,blogoosfero/noo...
4ad5840f0657564c9a9b64af82df899c19190267
app/views/chapters/show.html.erb
app/views/chapters/show.html.erb
BOOK TITLE - CHAPTER TITLE <%= render_elements(@chapter.elements) %>
<h1><%= @chapter.book.title %></h1> <h2><%= @chapter.title %></h2> <%= render_elements(@chapter.elements) %>
Add real book and chapter title to show page
Add real book and chapter title to show page
HTML+ERB
mit
yannvery/twist,RealSilo/twist,doug-c/mttwist,radar/twist,radar/twist,radar/twist,yannvery/twist,RealSilo/twist,yannvery/twist,doug-c/mttwist,doug-c/mttwist,RealSilo/twist
a5c65844ccdab776ae47f38a34eadb07aa7a9e44
app/views/events/_event.html.erb
app/views/events/_event.html.erb
<li class="event"> Start time changed by Phil Carrillo 2 days ago. Not all events would show up, e.g. reminder events wouldn't be shown. And we may actually want to show events that we don't currently generate events for. </li>
<li class="event event-<%= event.id -%>"> <%= event.text %> <small> <%= distance_of_time_in_words(event.created_at, Time.zone.now, options = {include_seconds: true }) %> ago </small> </li>
Make events work with no testing.
Make events work with no testing.
HTML+ERB
mit
weenhanceit/outages,weenhanceit/outages,weenhanceit/outages,weenhanceit/outages
da3ce2eed01c3dc44ead8a34a8e64ba711bdabdd
app/views/origins/index.html.erb
app/views/origins/index.html.erb
<main> <ul class="origins-list"> <% if @origins %> <% @origins.each do |origin| %> <li class="lol"> <%= link_to origin_defined_words_path(origin) do %> <%= image_tag("origin-flags/Mexico", class: "flag") %><br> <span ><%= origin.country %></span> <% end %> ...
<main> <ul class="origins-list"> <% if @origins %> <% @origins.each do |origin| %> <li class="lol"> <%= link_to origin_defined_words_path(origin) do %> <%= image_tag("origin-flags/Mexico.png", class: "flag") %><br> <span ><%= origin.country %></span> <% end %> ...
Add extensions to image paths
Add extensions to image paths
HTML+ERB
mit
edgarsbarajas/spanglishdictionary,edgarsbarajas/spanglishdictionary,edgarsbarajas/spanglishdictionary