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
635ccbd6e620c21e51a99ee56afa13e81339b18a
templates/default/irbrc.erb
templates/default/irbrc.erb
# Use Pry whenever possible interactive Ruby shells. # Works with Bundler too, but only when pry is in the Gemfile. # https://coderwall.com/p/5tvc1g Pry.start || exit rescue LoadError
Add irb configs override to use Pry
Add irb configs override to use Pry Specifically useful for `bundle console`. The irb command will still bring up irb, if needed.
HTML+ERB
mit
amaltson/dotfiles
502e90a147e668ce3ddeb7c575c212dec86a3e0d
core/app/views/facts/partial/_channel_listing_for_fact.html.erb
core/app/views/facts/partial/_channel_listing_for_fact.html.erb
<div id="fl-channels" class="fl-popup"> <ul> <% unless current_user.channels.count > 0 %> <li>You have no channels yet.<br/><%= link_to("Add one?", new_channel_path(current_user.username), :target => "blank") %></li> <% else %> <% current_user.channels.each do |channel| %> <li><%= check_box_tag(channel.t...
<div id="fl-channels" class="fl-popup"> <ul> <% unless current_user.channels.count > 0 %> <li>You have no channels yet.<br/><%= link_to("Add one?", new_channel_path(current_user.username), :target => "blank") %></li> <% else %> <% current_user.channels.each do |channel| %> <li><%= check_box_tag(channel.i...
Use id as id in stead of title (channel)
Use id as id in stead of title (channel)
HTML+ERB
mit
Factlink/factlink-core,Factlink/factlink-core,Factlink/factlink-core,Factlink/factlink-core,daukantas/factlink-core,daukantas/factlink-core,daukantas/factlink-core,daukantas/factlink-core
6274cf39368668bfb91d70372900059bc1714fd4
backend/app/views/spree/admin/shared/_number_with_currency.html.erb
backend/app/views/spree/admin/shared/_number_with_currency.html.erb
<% amount_attr ||= :amount %> <% currency_attr ||= :currency %> <% currency ||= nil %> <div class="input-group js-number-with-currency"> <div class="input-group-addon currency-selector-symbol"></div> <%= f.text_field amount_attr, value: number_to_currency(f.object.public_send(amount_attr), unit: ''), class: 'form-...
<% amount_attr ||= :amount %> <% currency_attr ||= :currency %> <% currency ||= nil %> <% required ||= nil %> <div class="input-group js-number-with-currency"> <div class="input-group-addon currency-selector-symbol"></div> <%= f.text_field amount_attr, value: number_to_currency(f.object.public_send(amount_attr), u...
Allow specifying required on number_with_currency
Allow specifying required on number_with_currency
HTML+ERB
bsd-3-clause
pervino/solidus,pervino/solidus,pervino/solidus,pervino/solidus
075735e709b05a62dd2d19b24836d470c9387102
core/app/views/activity_mailer/activities/_created_comment.html.erb
core/app/views/activity_mailer/activities/_created_comment.html.erb
<%= link_to_possibly_dead_user @activity.user.user %> commented on <%= link_to "<em>#{@activity.object}</em>".html_safe, friendly_fact_url(@activity.object) %>
<h2 class="activity-title"> <%= link_to_possibly_dead_user @activity.user.user %> has commented on <%= link_to @activity.object, friendly_fact_url(@activity.object) %>: </h2> <p class="activity-body"> <%= @activity.subject.content %> </p> <p class="activity-action"> To view the factlink, visit:<br> <%= l...
Send comment content in the email.
Send comment content in the email.
HTML+ERB
mit
daukantas/factlink-core,Factlink/factlink-core,daukantas/factlink-core,Factlink/factlink-core,daukantas/factlink-core,Factlink/factlink-core,Factlink/factlink-core,daukantas/factlink-core
7566572f71af70674164f0d7765a223d02e9b001
app/views/root/business_support.html.erb
app/views/root/business_support.html.erb
<section id="content" role="main" class="group"> <header class="page-header group"> <hgroup> <h1><%= @business_support.title %></h1> </hgroup> </header> <div class="article-container group"> <div>Support value &pound;<%= @business_support.min_value %> to &pound;<%= @business_support.max_value ...
<section id="content" role="main" class="group"> <header class="page-header group"> <hgroup> <h1><%= @business_support.title %></h1> </hgroup> </header> <div class="article-container group"> <div>Support value &pound;<%= @business_support.min_value %> to &pound;<%= @business_support.max_value ...
Update business support view for part_path
Update business support view for part_path
HTML+ERB
mit
alphagov/frontend,alphagov/frontend,alphagov/frontend,alphagov/frontend
89c04b546f4e2fb03d5cb35d415b1101ce3744c0
app/views/application/_footer.html.erb
app/views/application/_footer.html.erb
<footer id="footer" role="contentinfo"> <div class="wrapper"> <ul id="footer_nav"> <li><%= link_to 'Home', home_path %></li> <li><%= link_to 'All petitions', petitions_path %></li> <li><%= link_to 'Start a petition', check_petitions_path %></li> <li><%= link_to 'How petitions work', help_p...
<footer id="footer" role="contentinfo"> <div class="wrapper"> <ul id="footer_nav"> <li><%= link_to 'Home', home_path %></li> <li><%= link_to 'All petitions', petitions_path %></li> <li><%= link_to 'Start a petition', check_petitions_path %></li> <li><%= link_to 'How petitions work', help_p...
Add accessibility statement link to footer
Add accessibility statement link to footer
HTML+ERB
mit
alphagov/e-petitions,unboxed/e-petitions,unboxed/e-petitions,alphagov/e-petitions,alphagov/e-petitions,unboxed/e-petitions,alphagov/e-petitions,unboxed/e-petitions
22d6f017fe2d03e6df1772f4505a3bc6bb2de697
app/views/teachers/shared/_scorebook_tabs.html.erb
app/views/teachers/shared/_scorebook_tabs.html.erb
<!-- Nav tabs --> <div class="tab-outer-wrap"> <div class="container"> <ul class="nav nav-tabs tabs-navigation-list" role="tablist"> <li class="<%= controller_name == 'classroom_manager' && action_name == 'scorebook' ? 'active' : '' %>"> <%= link_to 'Scorebook', scorebook_path(current_user), role...
<!-- Nav tabs --> <div class="tab-outer-wrap"> <div class="container"> <ul class="nav nav-tabs tabs-navigation-list" role="tablist"> <li class="<%= controller_name == 'classroom_manager' && action_name == 'scorebook' ? 'active' : '' %>"> <%= link_to 'Scorebook', scorebook_path(current_user), role...
Bring back Progress Reports tab (hidden on production)
Bring back Progress Reports tab (hidden on production)
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
d793ccb3a15467e03d112612e6e1f1c12b7742e6
app/views/vote/_view_layouts_base_content.html.erb
app/views/vote/_view_layouts_base_content.html.erb
<% unless User.current.login == '' %> <% unless @board.nil? || @board[:id].nil? || @topic.nil? || @topic.id.nil? %> <div id="vote" class="vote-area" data-board="<%=@board[:id] %>" data-topic="<%=@topic.id%>"> <div><a class="vote-button" href="#" data-point="1">▲</a></div> <div class="vote-point">-...
<% unless User.current.login == '' %> <% unless @board.nil? || @board[:id].nil? || @topic.nil? || @topic.id.nil? %> <div id="vote" class="vote-area" data-board="<%=@board[:id] %>" data-topic="<%=@topic.id%>"> <div><a class="vote-button" href="#" data-point="1">▲</a></div> <div class="vote-point">-...
Change vote-vase-url hidden tag position.
Change vote-vase-url hidden tag position.
HTML+ERB
mit
jongha/redmine_vote,jongha/redmine_vote,jongha/redmine_vote
6876fd3a707a8012000be2149ed1417828a7b146
app/views/partials/_navBar.html.erb
app/views/partials/_navBar.html.erb
<div class="navBar"> <h1 class="title"><a href="/">Mathio Party</a></h1> <div class="login"> <% if current_user %> <%= link_to "Logout, #{current_user.username}", destroy_user_session_path, method: :delete %> <%= link_to 'Profile Page', user_path(current_user.id) %> <% if !player2_logged_in? %>...
<div class="navBar"> <h1 class="title"><a href="/">Mathio Party</a></h1> <%= link_to 'Frogger', game_path(1) %> <%= link_to 'Flappy Math', game_path(2) %> <%= link_to 'Invasion', game_path(3) %> <%= link_to 'Duck Hunt', game_path(4) %> <div class="login"> <% if current_user %> <%= link_to "Logout,...
Add game links to nav bar
Add game links to nav bar
HTML+ERB
mit
kaydenwilliams7/mathio-party,kaydenwilliams7/mathio-party,kaydenwilliams7/mathio-party
a12be1a679415b9d5a203ea2a9542ec4829a599f
app/views/projects/profile.html.erb
app/views/projects/profile.html.erb
<div> <h3>About Me</h3> <p>Nam a urna velit. Quisque fermentum augue quis est tempor rutrum. Nullam sollicitudin lorem nec erat tempus tristique. Nam sed efficitur urna. Donec sollicitudin fermentum ligula vitae scelerisque. Aenean condimentum turpis et nisi eleifend pulvinar. Nam elit magna, consequat in neque at,...
<div> <h3>About Me</h3> <p>Nam a urna velit. Quisque fermentum augue quis est tempor rutrum. Nullam sollicitudin lorem nec erat tempus tristique. Nam sed efficitur urna. Donec sollicitudin fermentum ligula vitae scelerisque. Aenean condimentum turpis et nisi eleifend pulvinar. Nam elit magna, consequat in neque at,...
Fix bug that displayed error when user had no projects
Fix bug that displayed error when user had no projects
HTML+ERB
mit
Railsn00bs/the-wall,andyfoster/the-wall,andyfoster/the-wall,Railsn00bs/the-wall,andyfoster/the-wall,Railsn00bs/the-wall
1e34a1246c27d9eff8186bd3696c2124d46e252f
lib/views/request/_view_html_prefix.html.erb
lib/views/request/_view_html_prefix.html.erb
<div class="view_html_prefix"> <div class="view_html_logo"> <a href="/"><%= image_tag("logo.png", :width => "109", :height => "50", :alt => site_name) %></a> </div> <div class="view_html_download_link"> <%=link_to _("Download original attachment"), @attachment_url %> <br>(<%=h @atta...
<div class="view_html_prefix"> <div class="view_html_logo"> <a href="/"><img src="/assets/logo.png" width="109" height="50" alt="<%= site_name %>"></a> </div> <div class="view_html_download_link"> <%=link_to _("Download original attachment"), @attachment_url %> <br>(<%=h @attachment....
Use static link so that cached attachments don't use timestamped urls
Use static link so that cached attachments don't use timestamped urls Also add para to make styling easier. Changes made in core in 9c2f4033e9838748650bd4293c4186646ce188da and 2c29fdd40daa0cd809729ef3907767792c9b3274
HTML+ERB
mit
mysociety/asktheeu-theme,mysociety/asktheeu-theme
a1ba8eea51e31974ec46602d16f1ed4850fcca8d
app/views/projects/search.html.erb
app/views/projects/search.html.erb
<% provide(:title, @project.path_name) %> <% provide(:breadcrumb_1, link_to("Projects", projects_path)) %> <div class="row"> <aside class="col-md-4"> <%= render partial: "shared/menu_datasets", locals: { project: @project, ds_counts: @project.dataset_counts(current_user), ref_datasets: false, qr...
<% provide(:title, @project.path_name) %> <% provide(:breadcrumb_1, link_to("Projects", projects_path)) %> <div class="row"> <aside class="col-md-4"> <%= render partial: "shared/menu_datasets", locals: { project: @project, ds_counts: @project.dataset_counts(current_user), ref_datasets: false, qr...
Update search to load centralized dataset partial
Update search to load centralized dataset partial
HTML+ERB
artistic-2.0
bio-miga/miga-clades,bio-miga/miga-web,bio-miga/miga-clades,bio-miga/miga-web,bio-miga/miga-web,bio-miga/miga-clades
a5e9998a2b7742c980ecae2e466afb55c6b3aaa0
app/views/sequences/index.html.erb
app/views/sequences/index.html.erb
<%= title("Sequences ‧ #{@current_workspace.name}") %> <div class="col-sm-2"></div> <div class="col-sm-7"> <% if @sequences.empty? %> <div class="row"> <div class="col-sm-7 center"> <div class="alert alert-warning text-center", role="alert"> This workspace is empty. </div> <...
<%= title("Sequences ‧ #{@current_workspace.name}") %> <div class="col-sm-2"></div> <div class="col-sm-7"> <% if @sequences.empty? %> <div class="row"> <div class="col-sm-7 center"> <div class="alert alert-warning text-center", role="alert"> This workspace is empty. </div> <...
Rename import sequences to import data
Rename import sequences to import data There are more than one formats of files to import, use "import data" is more suitable.
HTML+ERB
mit
higene/higene,higene/higene,higene/higene,higene/higene
4460c1b757b4eb86b2eb49a7996027427e457411
gitconfig.erb
gitconfig.erb
# Original pre-modified file is copyright Ryan Bates # See LICENSE_ryanb for full license text [user] name = Abe Voelker email = abe@abevoelker.com [alias] s = status a = add c = commit cm = commit -m co = checkout d = diff di = diff --cached [color] ui = auto [color "status"] header = normal a...
# Original pre-modified file is copyright Ryan Bates # See LICENSE_ryanb for full license text [user] name = Abe Voelker email = abe@abevoelker.com [alias] s = status a = add c = commit cm = commit -m co = checkout d = diff di = diff --cached ignore = !git update-index --assume-unchanged unignore...
Add git aliases for working with ignored files
Add git aliases for working with ignored files
HTML+ERB
mit
nacengineer/dotfiles,nacengineer/dotfiles
2f3e550a815b2f1c16df3afa8abdcf5765dbf28c
templates/provisioners/chef_zero/zero.erb
templates/provisioners/chef_zero/zero.erb
<% if node_name %> node_name "<%= node_name %>" <% end %> file_cache_path "<%= file_cache_path %>" file_backup_path "<%= file_backup_path %>" cookbook_path <%= cookbooks_path.inspect %> <% if roles_path %> role_path <%= roles_path.size == 1 ? roles_path.first.inspect : roles_path.inspect %> <% end %> log_level <%=...
<% if node_name %> node_name "<%= node_name %>" <% end %> file_cache_path "<%= file_cache_path %>" file_backup_path "<%= file_backup_path %>" cookbook_path <%= cookbooks_path.inspect %> <% if roles_path %> role_path <%= roles_path.size == 1 ? roles_path.first.inspect : roles_path.inspect %> <% end %> log_level <%=...
Remove white space after bang
Remove white space after bang
HTML+ERB
mit
wkolean/vagrant,fnewberg/vagrant,aneeshusa/vagrant,carlosefr/vagrant,ianmiell/vagrant,genome21/vagrant,mwrock/vagrant,bdwyertech/vagrant,Avira/vagrant,lonniev/vagrant,philoserf/vagrant,aaam/vagrant,Endika/vagrant,theist/vagrant,jkburges/vagrant,dharmab/vagrant,gpkfr/vagrant,krig/vagrant,tbriggs-curse/vagrant,kamazee/va...
e1ff867bf235e31e5744a9b853d629502910bed4
modules/spamassassin/templates/1404-proxy.cfg.erb
modules/spamassassin/templates/1404-proxy.cfg.erb
global log /dev/log local0 log /dev/log local1 notice chroot /var/lib/haproxy user haproxy group haproxy daemon defaults log global mode <%= @haproxy_mode %> option tcplog option dontlognull contimeout 5000 clitimeo...
global log /dev/log local0 log /dev/log local1 notice chroot /var/lib/haproxy user haproxy group haproxy daemon defaults log global mode <%= @haproxy_mode %> option tcplog option dontlognull contimeout 5000 clitimeo...
Enable stats in http so we can see them
Enable stats in http so we can see them
HTML+ERB
apache-2.0
chtyim/infrastructure-puppet,chtyim/infrastructure-puppet,sebbASF/infrastructure-puppet,apache/infrastructure-puppet,stumped2/infrastructure-puppet,bdube/infrastructure-puppet,chtyim/infrastructure-puppet,stumped2/infrastructure-puppet,bdube/infrastructure-puppet,apache/infrastructure-puppet,apache/infrastructure-puppe...
be8302af8a651dfe47059302407f705160116e0a
spec/integration/launcher/data/happy_path.yaml.erb
spec/integration/launcher/data/happy_path.yaml.erb
--- vapps: - name: <%= vapp_name %> vdc_name: <%= vdc_name %> catalog: <%= catalog %> catalog_item: <%= vapp_template %> vm: hardware_config: memory: 4096 cpu: 2 metadata: is_integer: -999 is_string: Hello World is_datetime: <%= date_metadata %> ...
--- vapps: - name: <%= vapp_name %> vdc_name: <%= vdc_name %> catalog: <%= catalog %> catalog_item: <%= vapp_template %> vm: hardware_config: memory: 4096 cpu: 2 metadata: is_integer: -999 is_string: Hello World is_datetime: <%= date_metadata %> ...
Remove href from example input
Remove href from example input
HTML+ERB
mit
UKHomeOffice/vcloud-launcher,UKHomeOffice/vcloud-launcher,gds-operations/vcloud-launcher,UKHomeOffice/vcloud-launcher,gds-operations/vcloud-launcher,gds-operations/vcloud-launcher
318f99c2058be526c61728fd86f2a8143471b900
gitconfig.erb
gitconfig.erb
[user] name = <%= print("Your Name: "); STDOUT.flush; STDIN.gets.chomp %> email = <%= print("Your Email: "); STDOUT.flush; STDIN.gets.chomp %> [core] excludesfile = <%= ENV['HOME'] %>/.gitignore editor = vim [color] diff = auto status = auto branch = auto [apply] whitespace = nowarn [alias] ff = pull --ff-only...
[user] name = <%= print("Your Name: "); STDOUT.flush; STDIN.gets.chomp %> email = <%= print("Your Email: "); STDOUT.flush; STDIN.gets.chomp %> [core] excludesfile = <%= ENV['HOME'] %>/.gitignore editor = vim eol = lf autocrlf = false compression = 9 loosecompression = 1 [color] diff = auto status = auto ...
Add a bunch of new git settings
Add a bunch of new git settings
HTML+ERB
mit
mscharley/dotfiles,mscharley/dotfiles,mscharley/dotfiles,mscharley/dotfiles
c45e9506a636c7932f39e8a34d6c5d5b28d5dd55
modules/govuk_jenkins/templates/jobs/service_manual_rebuild_search_index.yaml.erb
modules/govuk_jenkins/templates/jobs/service_manual_rebuild_search_index.yaml.erb
--- - job: name: service-manual_rebuild_search_index display-name: service-manual_rebuild_search_index project-type: freestyle description: "<p>Drops and rebuilds the 'service-manual' search index</p> <p><strong>NB</strong> this isn't atomic - the index will be empty for a short while (a few...
--- - job: name: service-manual_rebuild_search_index display-name: service-manual_rebuild_search_index project-type: freestyle description: "<p>Drops and rebuilds the 'service-manual' search index</p> <p><strong>NB</strong> this isn't atomic - the index will be empty for a short while (a few...
Fix host when rebuilding service-manual index
Fix host when rebuilding service-manual index search-1.api.<environment> and frontend-1.frontend.<environment> do not require the environment to resolve correctly. In fact, they don't resolve with the environment.
HTML+ERB
mit
alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet
8357d5f71a1d4b969b59c956c91abb750c75771b
conf/nginx/default.conf.erb
conf/nginx/default.conf.erb
worker_processes 4; daemon off; events { worker_connections 1024; } http { upstream phpfpm { server unix:/tmp/php-fpm.sock; } sendfile on; tcp_nopush on; keepalive_timeout 65; error_log logs/error.log notice; access_log logs/access.log; server { liste...
worker_processes 4; daemon off; events { worker_connections 1024; } http { upstream phpfpm { server unix:/tmp/php-fpm.sock; } sendfile on; tcp_nopush on; keepalive_timeout 65; error_log logs/error.log notice; access_log logs/access.log; server { liste...
Fix upstream name in fastcgi_pass
Fix upstream name in fastcgi_pass
HTML+ERB
mit
Scalingo/php-buildpack,ryosuzuki/php-buildpack,mraymond/heroku-buildpack-php,CHH/heroku-buildpack-php,CHH/heroku-buildpack-php,bobmaerten/dokku-buildpack-php,briankilgore/heroku-buildpack-php-prod,Scalingo/php-buildpack,AlphaStaxLLC/heroku-buildpack-php-custom,Scalingo/php-buildpack,AlphaStaxLLC/heroku-buildpack-php-cu...
4c5c18fb8f0c7bc0171e2935aa0b414292b6e553
site-cookbooks/amanda_part/templates/default/.amandahosts-client.erb
site-cookbooks/amanda_part/templates/default/.amandahosts-client.erb
<%= @amanda_serevr_ip %> <%= node['amanda_part']['user'] %> amdump localhost root amindexd amidxtaped
<%= @amanda_server_ip %> <%= node['amanda_part']['user'] %> amdump localhost root amindexd amidxtaped
Modify hostnames to ip addresses.
Modify hostnames to ip addresses.
HTML+ERB
apache-2.0
cloudconductor-patterns/amanda_pattern,cloudconductor-patterns/amanda_pattern,cloudconductor-patterns/amanda_pattern,cloudconductor-patterns/amanda_pattern
73105afe5cf7629d4b19a395a95c30a1755826d7
app/views/admin/topics/_topic.html.erb
app/views/admin/topics/_topic.html.erb
<%= content_tag_for(:tr, topic) do %> <td class="name"> <%= link_to topic.name, [:admin, topic], title: "Edit #{model_name.humanize.downcase} #{topic.name}" %> </td> <td class="description"><%= truncate(topic.description, length: 130, separator: ' ') %></td> <td class="related"> <ul> <% topic.rela...
<%= content_tag_for(:tr, topic) do %> <td class="name"> <%= link_to topic.name, [:admin, topic], title: "Edit #{model_name.humanize.downcase} #{topic.name}" %> </td> <td class="description"><%= truncate(topic.description, length: 130, separator: ' ') %></td> <td class="related"> <ul> <% topic.rela...
Fix links to topics and topical events on topic list page
Fix links to topics and topical events on topic list page
HTML+ERB
mit
robinwhittleton/whitehall,ggoral/whitehall,ggoral/whitehall,hotvulcan/whitehall,hotvulcan/whitehall,robinwhittleton/whitehall,YOTOV-LIMITED/whitehall,askl56/whitehall,ggoral/whitehall,askl56/whitehall,YOTOV-LIMITED/whitehall,alphagov/whitehall,robinwhittleton/whitehall,alphagov/whitehall,YOTOV-LIMITED/whitehall,alphago...
ef50a6f86bca73e522e0f86725769df0615711e7
app/views/devise/sessions/new.html.erb
app/views/devise/sessions/new.html.erb
<% content_for :head do %> <%= stylesheet_link_tag 'login' %> <% end %> <div class="row"> <div class="col-md-8 col-md-offset-1"> <h2 class="page-header">Log in</h2> <div class="panel panel-default"> <div class="panel panel-body"> <%= form_for(resource, :as => resource_name, :url => session_pa...
<%= title 'Login' %> <% content_for :head do %> <%= stylesheet_link_tag 'login' %> <% end %> <div class="row"> <div class="col-md-8 col-md-offset-1"> <h2 class="page-header">Log in</h2> <div class="panel panel-default"> <div class="panel panel-body"> <%= form_for(resource, :as => resource_nam...
Add title to sign in page
Add title to sign in page
HTML+ERB
mit
frankzhao/SubmissionApp2,frankzhao/SubmissionApp2,frankzhao/SubmissionApp2,frankzhao/SubmissionApp2
d2c5d94277175f37cbb0c2b1689b818cd4a51a26
app/views/layouts/_navigation.html.erb
app/views/layouts/_navigation.html.erb
<nav> <ul> <li><%= link_to "Home", root_path %></li> <% if user_signed_in? %> <li><%= link_to "Add Resource", new_resource_path %></li> <li><%= link_to "Add Language", new_language_path %></li> <li><%= link_to "Log out", destroy_user_session_path, method: 'delete' %></li> <% else %> ...
<nav> <ul> <li><%= link_to "Home", root_path %></li> <% if user_signed_in? %> <li><%= link_to "Add Resource", new_resource_path %></li> <li><%= link_to "Add Language", new_language_path %></li> <li><%= link_to "Add Course", new_course_path %></li> <li><%= link_to "Log out", destroy_use...
Add Course link to nav.
Add Course link to nav.
HTML+ERB
mit
abonner1/code_learning_resources_manager,abonner1/code_learning_resources_manager,abonner1/sorter,abonner1/code_learning_resources_manager,abonner1/sorter,abonner1/sorter
c600f47951d846e9aee56f178d639a89b1c7367e
app/views/layouts/application.html.erb
app/views/layouts/application.html.erb
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title><%= content_for?(:title) ? yield(:title) : "foundation-rails" %></title> <%= stylesheet_link_tag "application" %> <%= javascript_include_tag "vendor...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title><%= content_for?(:title) ? yield(:title) : "foundation-rails" %></title> <%= stylesheet_link_tag "application" %> <%= javascript_include_tag "vendor...
Add homepage link in nav bar
Add homepage link in nav bar
HTML+ERB
mit
mud-turtles-2014/palate,mud-turtles-2014/palate
0623d039dff5d80e585e94938db32fe8b88048fa
app/views/layouts/application.html.erb
app/views/layouts/application.html.erb
<!DOCTYPE html> <html class="no-js"> <%= render :partial => 'layouts/head' %> <% onload_text = "$('input#q').focus();" if params[:q].to_s.empty? and params[:f].to_s.empty? and params[:id].nil? %> <body onload="<%= onload_text %>" class="<%= render_body_class %>"> <div id="wrap"> <%= render :partial => '...
<!DOCTYPE html> <html class="no-js"> <%= render :partial => 'layouts/head' %> <body class="<%= render_body_class %>"> <div id="wrap"> <%= render :partial => 'shared/header_navbar' %> <div id="ajax-modal" class="modal hide fade" tabindex="-1"></div> <!-- /container --> <div id="mai...
Remove onload event from application layout
Remove onload event from application layout
HTML+ERB
apache-2.0
LucidWorks/flare,LucidWorks/flare,LucidWorks/flare
352a1a792083b57a3890f458c63c23175af6e85c
app/views/activities/_act_listing.html.erb
app/views/activities/_act_listing.html.erb
<div class="row"> <div class="col s12"> <h5><%= activity.description %></h5> </div> </div> <% if activity.location.present? %> <div class="location-detail z-depth-2"> <div class="location-detail row"> <div class="col s12"> <p><span class="category-title">name:</span> <%= activity.location.name %><...
<div class="row"> <div class="col s12"> <h5><%= activity.description %></h5> </div> </div> <% if activity.location.present? %> <div class="location-detail card z-depth-2"> <div class="location-detail row"> <div class="col s12"> <p><span class="category-title">name:</span> <%= activity.location.nam...
Change itin act listings to cards
Change itin act listings to cards
HTML+ERB
mit
Aslonski/Global-Host,Aslonski/Global-Host,Aslonski/Global-Host
b12288bfc3bdc0e4ca0b37367fcb603ec96cc103
app/views/backend/content/rows/images/edit.html.erb
app/views/backend/content/rows/images/edit.html.erb
<% if @image.file.present? %> <div class="row"> <div class="large-7 large-centered columns"> <div class="panel radius"> <%= image_tag(@image.file.url, alt: '', class: 'radius') %> </div> </div> </div> <% end %> <%= simple_form_for [:backend, @image] do |f| %> <fieldset class="radius">...
<% if @image.file.present? %> <div class="row"> <div class="large-7 large-centered columns"> <div class="panel radius"> <%= image_tag(@image.file.url, alt: '', class: 'radius') %> </div> </div> </div> <% end %> <%= simple_form_for [:backend, @image] do |f| %> <fieldset class="radius">...
Add cancel url to the image edit form.
Add cancel url to the image edit form.
HTML+ERB
mit
udongo/udongo,udongo/udongo,udongo/udongo
f088718776fe6fc7a76cbf683f187fab7be6e190
app/views/devise/registrations/_edit_form.html.erb
app/views/devise/registrations/_edit_form.html.erb
<%= form_for(resource, as: resource_name, url: registration_path(resource_name), html: { method: :put }) do |f| %> <%= devise_error_messages! %> <div class="form-group"> <%= f.label :email %><br /> <%= f.email_field :email, autofocus: true, class: "form-control" %> </div> <% if devise_mapping.confirma...
Add edit form for edit user view
[Template] Add edit form for edit user view
HTML+ERB
mit
marceloboeira/spread_blood,SpreadBlood/core,SpreadBlood/core,marceloboeira/spread_blood,marceloboeira/spread_blood,SpreadBlood/core
b0a206e29e8a8acbb7a30fd36f7e3e99d9f300df
app/views/smart_answers/_current_question.html.erb
app/views/smart_answers/_current_question.html.erb
<div class="step current" data-step="employment-status"> <%= form_tag calculate_current_question_path(@presenter), :authenticity_token => false %> <div class="current-question" id="current-question"> <h2> <span class="question-number"><%= @presenter.current_question_number %> </span><%= question.tit...
<div class="step current" data-step="employment-status"> <%= form_tag calculate_current_question_path(@presenter), :method => :get, :authenticity_token => false %> <div class="current-question" id="current-question"> <h2> <span class="question-number"><%= @presenter.current_question_number %> </span...
Make GET requests, not POST requests, when JS is disabled
Make GET requests, not POST requests, when JS is disabled Doesn't break anything, but makes it cacheable.
HTML+ERB
mit
askl56/smart-answers,askl56/smart-answers,lutgendorff/smart-answers,lutgendorff/smart-answers,stwalsh/smart-answers,alphagov/smart-answers,askl56/smart-answers,aledelcueto/smart-answers,tadast/smart-answers,stwalsh/smart-answers,keithiopia/smart-answers,alphagov/smart-answers,keithiopia/smart-answers,keithiopia/smart-a...
9442cb5a4d576081142a12362d1fc5e05853786d
app/views/rvt/console_sessions/index.html.erb
app/views/rvt/console_sessions/index.html.erb
<script> // Expose the main RVT namespace. this.RVT || (this.RVT = {}); RVT.config = { terminal: { theme: <%= raw RVT.config.style.colors.to_json %> }, transport: { url: { input: "<%= rvt.input_console_session_path(@console_session) %>", pendingOutput: "<%= rvt.pending_ou...
<%= javascript_tag nonce: true do %> // Expose the main RVT namespace. this.RVT || (this.RVT = {}); RVT.config = { terminal: { theme: <%= raw RVT.config.style.colors.to_json %> }, transport: { url: { input: "<%= rvt.input_console_session_path(@console_session) %>", pendin...
Add nonce: true for CSP friendly environments
Add nonce: true for CSP friendly environments
HTML+ERB
mit
gsamokovarov/rvt,gsamokovarov/rvt,gsamokovarov/rvt
6c70749841a75a8f4b231c2e0f45c86f713f282e
app/views/shared/address_blacklisted.html.erb
app/views/shared/address_blacklisted.html.erb
<% content_for :title, "Email could not be sent" %> <h1>Your email could not be sent</h1> <div class="well"> <div class="alert alert-block"> <p>That email address has been blacklisted by our mail server. This probably means that the email address does not exist, or it has a problem such as the inbox being full....
<% content_for :title, "Email could not be sent" %> <div class="page-title"> <h1>Your email could not be sent</h1> </div> <div class="well"> <div class="alert alert-warning"> <p class="add-bottom-margin">That email address has been blacklisted by our mail server. This probably means that the email address doe...
Tidy up blacklisted email address page
Tidy up blacklisted email address page * Use a warning alert to purvey message * Add some margins to paragraphs in alert — these are removed by default within alerts
HTML+ERB
mit
alphagov/signonotron2,alphagov/signonotron2,alphagov/signonotron2,alphagov/signonotron2
7c4c4161f7a01d2449d60865c8b04f2389ae20f5
app/views/submission_filters/results.html.erb
app/views/submission_filters/results.html.erb
<%= render 'filters' %> <% if submissions_accepted.empty? && submissions_waitlist.empty? %> <%= render 'empty_table', message: "No rated submissions to show" %> <% else %> <%= render 'result_table', { submissions: submissions_accepted, table_title: "accepted", filter: "accepted" } %> <%= render 'result_table', {...
<%= render 'filters' %> <% if submissions_accepted.empty? && submissions_waitlist.empty? %> <%= render 'empty_table', message: "No rated submissions to show" %> <% else %> <%= link_to "Send emails", send_invitation_emails_path, method: :post, data: { confirm: "Are you sure?" }, class: "btn btn-small btn-emails" %>...
Move link for email confirmation above the table
Move link for email confirmation above the table
HTML+ERB
mit
LunarLogic/rails-girls-submissions,LunarLogic/rails-girls-submissions,LunarLogic/rails-girls-submissions
8a4cc55213e7709172b7bac2522de39cfd3be19e
lib/generators/publishing_logic/fields/templates/db/migrate/add_publishing_logic_fields.rb.erb
lib/generators/publishing_logic/fields/templates/db/migrate/add_publishing_logic_fields.rb.erb
class <%= migration_name %> < ActiveRecord::Migration def change change_table :<%= table_name %> do |t| t.boolean :publishing_enabled t.datetime :published_at<% if options[:published_until_field] %>, :published_until<% end %> t.index [:published_at, :publishing_enabled<% if options[:published_un...
class <%= migration_name %> < ActiveRecord::Migration def self.up change_table :<%= table_name %> do |t| t.boolean :publishing_enabled t.datetime :published_at<% if use_published_until_field %>, :published_until<% end %> t.index [:published_at, :publishing_enabled<% if use_published_until_field ...
Revert migration back to old style to ensure the migrations is properly reversible
Revert migration back to old style to ensure the migrations is properly reversible
HTML+ERB
mit
unboxed/publishing_logic
71eb93c7c76c1dfce3dd2f88ce86f3e13a6dd21c
app/views/reservations/_actions.html.erb
app/views/reservations/_actions.html.erb
<%= link_to raw('<i class="glyphicon glyphicon-comment"></i> History'), user_reservation_path(reservation.user, reservation), class: 'btn btn-xs btn-default', remote: true %> <% if can? :update, reservation and can? :destroy, reservation %> <% unless reservation.approved? %> <%= link_to raw('<span class="glyphico...
<% if can? :update, reservation %> <%= link_to raw('<i class="glyphicon glyphicon-comment"></i> History'), user_reservation_path(reservation.user, reservation), class: 'btn btn-xs btn-default', remote: true %> <% end %> <% if can? :update, reservation and can? :destroy, reservation %> <% unless reservation.approved...
Hide history button for normal users
Hide history button for normal users
HTML+ERB
mit
ZeusWPI/Saruman,ZeusWPI/Saruman,ZeusWPI/Saruman,ZeusWPI/Saruman
b1efd585fb384d268e112adc25c2d27e1bc57bbe
app/views/admin/applications/index.html.erb
app/views/admin/applications/index.html.erb
<h1>Single Sign On Applications</h1> <div class="well"> <table class="table table-striped table-bordered"> <thead> <tr> <th scope="col">Name</th> <th scope="col">Redirect URI</th> <th scope="col">Home URI</th> <th scope="col">Actions</th> </tr> </thead> <tbod...
<h1>Single Sign On Applications</h1> <div class="well"> <table class="table table-striped table-bordered"> <thead> <tr> <th scope="col">Name</th> <th scope="col">Redirect URI</th> <th scope="col">Home URI</th> <th scope="col">Actions</th> </tr> </thead> <tbod...
Fix link to App on App admin page
Fix link to App on App admin page
HTML+ERB
mit
alphagov/signonotron2,alphagov/signonotron2,alphagov/signonotron2,alphagov/signonotron2
889ae1b55a0086b9fa7de860570c0e236506ca2e
app/views/business_supports/_areas.html.erb
app/views/business_supports/_areas.html.erb
<h3>Areas</h3> <div class="checkbox"> <label> <%= check_box_tag "all_regions", "1", all_regions?(f.object), { class: "areas-chkbx", disabled: @resource.locked_for_edits? } %> All of the UK </label> </div> <div class="checkbox"> <label> <%= check_box_tag "english_regions", "1", english_regions?(f.objec...
<h3>Areas</h3> <div class="checkbox if-no-js-hide"> <label> <%= check_box_tag "all_regions", "1", all_regions?(f.object), { class: "areas-chkbx", disabled: @resource.locked_for_edits? } %> All of the UK </label> </div> <div class="checkbox if-no-js-hide"> <label> <%= check_box_tag "english_regions", "...
Hide 'All of' checkboxes when js disabled
Hide 'All of' checkboxes when js disabled These boxes are helpers that fill in the regions for the UK or England when checked, but they need JS to work.
HTML+ERB
mit
telekomatrix/publisher,alphagov/publisher,telekomatrix/publisher,leftees/publisher,leftees/publisher,telekomatrix/publisher,leftees/publisher,telekomatrix/publisher,leftees/publisher,alphagov/publisher,alphagov/publisher
9766a22dfa688b4dfb1c7fd3fc19cf8189b7aed9
app/views/questions/new.html.erb
app/views/questions/new.html.erb
<div class="ques-answer"> <h3>Ask a Question:</h3> <%= form_for @question do |f| %> <div class="title-conent">Title: <%= f.text_field :title %></div> <div class="body-content"><%= f.text_area :content %></div> <%= f.fields_for @tag do |o| %> <%= o.label :tags %> <%= o.text_field :name, place...
<div class="ques-answer"> <h3>Ask a Question:</h3> <%= form_for @question do |f| %> Title: <%= f.text_field :title %> <div class="body-content"><%= f.text_area :content %></div> <%= f.fields_for @tag do |o| %> Tags:<%= o.text_field :name, placeholder: "seperated by commas" %> <div class="su...
Add tags and styling to match
Add tags and styling to match
HTML+ERB
mit
jeder28/stack_overphil,jeder28/stack_overphil,jeder28/stack_overphil
5964fe285a0dea11edc61c87553959baba6e510a
app/views/welcome/pilot.html.erb
app/views/welcome/pilot.html.erb
<div class="container" id="pilot-page"> <div class="row"> <h2 class="stylish-title">Pilot</h2> </div> <div class="row"> <% if Time.zone.now < Time.zone.parse('May 1, 2016') %> <iframe width="100%" height="520" frameborder="0" src="https://williamcodes.cartodb.com/viz/0fa4...
<div class="container" id="pilot-page"> <div class="row"> <h2 class="stylish-title">Pilot</h2> </div> <div class="row"> <% if Time.zone.now < Time.zone.parse("May 1, 2016") %> <iframe width="100%" height="520" frameborder="0" src="https://williamcodes.cartodb.com/viz/0fa4...
Use double quotes instead of single quotes
Use double quotes instead of single quotes
HTML+ERB
mit
ramillim/heatseeknyc,heatseeknyc/heatseeknyc,ramillim/heatseeknyc,ramillim/heatseeknyc,heatseeknyc/heatseeknyc,heatseeknyc/heatseeknyc
e915848597337af589647e96ffb2971cce13676f
backend/app/views/spree/admin/style_guide/topics/messaging/_flashes.html.erb
backend/app/views/spree/admin/style_guide/topics/messaging/_flashes.html.erb
<button class="trigger-flash" data-flash-type="success">Success</button> <button class="trigger-flash" data-flash-type="notice">Warning</button> <button class="trigger-flash" data-flash-type="error">Error</button> <script> $('.trigger-flash').on('click', function(){ type = $(this).data('flashType'); flash = ...
<button class="trigger-flash" data-flash-type="success">Success</button> <button class="trigger-flash" data-flash-type="notice">Warning</button> <button class="trigger-flash" data-flash-type="error">Error</button> <script> $('.trigger-flash').on('click', function(){ type = $(this).data('flashType'); if (!$(...
Improve style guide flash messages UX
Improve style guide flash messages UX Make flash messages in the style guide disappear when clicked upon and avoid showing multiple flash messages of the same instance if clicked multiple times. Ref. #1958
HTML+ERB
bsd-3-clause
pervino/solidus,pervino/solidus,pervino/solidus,pervino/solidus
02996ee07b3df62191642e43040fdc5edef911cb
templates/default/hostgroups.cfg.erb
templates/default/hostgroups.cfg.erb
# Hostgroup definitions # # Autogenerated by Chef. define hostgroup { hostgroup_name all alias all members * } <% @hostgroups.sort.each do |h| -%> define hostgroup { hostgroup_name <%= h %> alias <%= h %> } <% end -%> <% @search_hostgroups.sort.each do |hostgroup| -%> define hostgroup { hostgroup_name <...
# Hostgroup definitions # # Autogenerated by Chef. define hostgroup { hostgroup_name all alias all members * } <% @hostgroups.sort.each do |h| -%> define hostgroup { hostgroup_name <%= h %> alias <%= h %> } <% end -%> <% @search_hostgroups.sort.each do |hostgroup| -%> define hostgroup { hostgroup_name <%...
Fix syntax if nagios_hostgroups data bag based search returns nothing
Fix syntax if nagios_hostgroups data bag based search returns nothing Don't write out "members empty" if nothing comes back from the search. Instead write out a host group with nothing, which is actually correct. Also remove an empty line so that there is a single empty line between each host group definition.
HTML+ERB
apache-2.0
OpenGov/nagios,JulianNL/nagios,schubergphilis/nagios,ChrisLundquist/nagios,mrlamroger/nagios,spudnic/nagios,mrlamroger/nagios,lusis/nagios,CanaryTek/nagios,popsikle/nagios-5.3.5,ChrisLundquist/nagios,polamjag/nagios,firebase/nagios,firebase/nagios,JulianNL/nagios,spudnic/nagios,caleb/nagios,caleb/nagios,aaronkvanmeerte...
6f94937e2739c1bf1bb6904da62d6a295ea476d8
views/new.erb
views/new.erb
<h2>Add new post</h2> <p> We will add a new post here </p>
<h2>Add new post</h2> <p> <form> <textarea class="form-control" rows="6"></textarea> <br> <button type="submit" class="btn btn-default">Submit</button> </form> </p>
Add textarea and submit button
Add textarea and submit button
HTML+ERB
mit
Natellus/Application2,Natellus/Application2
8789739c7221bd0c382aaf1c3cbb1e1e1ed0ec2a
sli/admin-tools/admin-rails/app/views/application_mailer/auto_provision_email.text.erb
sli/admin-tools/admin-rails/app/views/application_mailer/auto_provision_email.text.erb
<%= @firstName %>, The system is loading the sample data set you selected. The corresponding data will become available in your Sandbox account once this process is complete. Please be aware that the time it takes for the data to load varies. To use the SLC-provided applications (Dashboard or Data Browser), perform t...
<%= @firstName %>, The system is loading the sample data set you selected. The corresponding data will be available in your Sandbox account once this process is complete. Please be aware that the time it takes for the data to load varies. To use the inBloom-provided applications (Dashboard or Data Browser), perform t...
Change references from SLC to inBloom in autoload email
[DE2532] Change references from SLC to inBloom in autoload email
HTML+ERB
apache-2.0
inbloom/secure-data-service,inbloom/secure-data-service,inbloom/secure-data-service,inbloom/secure-data-service,inbloom/secure-data-service
026e0c65c05debdd7d0025291301ada8ea641763
app/views/sponsor_mailer/petition_and_email_confirmation_for_sponsor.text.erb
app/views/sponsor_mailer/petition_and_email_confirmation_for_sponsor.text.erb
Click this link to sign the petition "<%= @petition.action %>" <%= verify_signature_url(@signature, @signature.perishable_token, protocol: 'https') %> -- <%= @petition.creator_signature.name %>’s petition: <%= @petition.action %> <%= @petition.background %> <% unless @petition.additional_details.blank? %> <%= @...
Click this link to sign the petition "<%= @petition.action %>" <%= verify_signature_url(@signature, @signature.perishable_token) %> -- <%= @petition.creator_signature.name %>’s petition: <%= @petition.action %> <%= @petition.background %> <% unless @petition.additional_details.blank? %> <%= @petition.additional...
Remove protocol from url helper - handled by Site model
Remove protocol from url helper - handled by Site model
HTML+ERB
mit
ansonK/e-petitions,ansonK/e-petitions,alphagov/e-petitions,joelanman/e-petitions,StatesOfJersey/e-petitions,alphagov/e-petitions,unboxed/e-petitions,oskarpearson/e-petitions,telekomatrix/e-petitions,telekomatrix/e-petitions,alphagov/e-petitions,unboxed/e-petitions,telekomatrix/e-petitions,StatesOfJersey/e-petitions,Sta...
1dba5ce7c421869bc5d2700d21bd5e232664b5e6
lib/domgen/gwt/templates/model_module.xml.erb
lib/domgen/gwt/templates/model_module.xml.erb
<?xml version="1.0" encoding="UTF-8"?> <!-- DO NOT EDIT: File is auto-generated --> <module> <% if repository.imit? -%> <inherits name='org.realityforge.replicant.Replicant'/> <% end -%> <% if repository.gwt_rpc? && !repository.imit? -%> <inherits name='com.google.gwt.user.RemoteService'/> <inherits name='org.rea...
<?xml version="1.0" encoding="UTF-8"?> <!-- DO NOT EDIT: File is auto-generated --> <module> <% if repository.imit? -%> <inherits name='org.realityforge.replicant.Replicant'/> <% end -%> <% if repository.gwt_rpc? && !repository.imit? -%> <inherits name='com.google.gwt.user.RemoteService'/> <inherits name='org.rea...
Rework the model module so that it does not necessarily include all source in client
Rework the model module so that it does not necessarily include all source in client
HTML+ERB
apache-2.0
realityforge/domgen,realityforge/domgen
df7a0527f5409ffb751064ba69bc9e8c44a374e3
lib/domgen/gwt/templates/app_module.xml.erb
lib/domgen/gwt/templates/app_module.xml.erb
<?xml version="1.0" encoding="UTF-8"?> <!-- DO NOT EDIT: File is auto-generated --> <module> <inherits name="com.google.gwt.inject.Inject"/> <inherits name="org.realityforge.gwt.lognice.Lognice"/> <inherits name="com.google.gwt.logging.LoggingDisabled"/> <% if repository.appcache? -%> <inherits name="org.realit...
<?xml version="1.0" encoding="UTF-8"?> <!-- DO NOT EDIT: File is auto-generated --> <module> <inherits name="com.google.gwt.inject.Inject"/> <inherits name="org.realityforge.gwt.lognice.Lognice"/> <inherits name="com.google.gwt.logging.LoggingDisabled"/> <% if repository.appcache? -%> <inherits name="org.realit...
Remove configuration no longer relevant in GWT 2.8
Remove configuration no longer relevant in GWT 2.8
HTML+ERB
apache-2.0
icaughley/domgen,realityforge/domgen,realityforge/domgen,icaughley/domgen
8e4a0a56423c5d9be53e311678349a812b0b3d43
app/views/layouts/admin.html.erb
app/views/layouts/admin.html.erb
<%= render "layouts/admin/main_nav" if current_user.admin? %>
<div class="helpNav"> <a href="/">← Homepage </a> </div> <%= render "layouts/admin/main_nav" if current_user.admin? %> <%= yield %>
Add missing 'yield' call. Add back too homepage link.
Add missing 'yield' call. Add back too homepage link.
HTML+ERB
mit
geremih/recollab,andjosh/invoiceapp,sammarcus/base-app,codeclimate-test/base-app,mfolsom/therafinder,tycoool/QADemo,renderedtext/base-app,tycoool/QADemo,renderedtext/base-app,mfolsom/therafinder,codeclimate-test/base-app,geremih/recollab,andjosh/invoiceapp,codeclimate-test/base-app,sammarcus/base-app,sammarcus/base-app
5ef52a0442d643d0a620e521cbf404ea15064dc2
themes/bootstrap-2/views/comments/_comment.html.erb
themes/bootstrap-2/views/comments/_comment.html.erb
<li class='list-unstyled' id="comment-<%= comment.id %>"> <%= avatar_tag(:email => comment.email, :url => comment.url, :class => 'img-circle pull-left gravatar') %> <div class='content'> <h4> <%= t(".by") %> <%= comment.url.blank? ? h(comment.author) : nofollowified_link_to(h(comment.author), comment.url)...
<li class='list-unstyled' id="comment-<%= comment.id %>"> <%= avatar_tag(:email => comment.email, :url => comment.url, :class => 'img-circle pull-left gravatar') %> <div class='content'> <h4> <%= t(".by") %> <%= comment.url.blank? ? h(comment.author) : nofollowified_link_to(h(comment.author), comment.url)...
Fix comment partial in bootstrap-2 theme
Fix comment partial in bootstrap-2 theme
HTML+ERB
mit
publify/publify,publify/publify,publify/publify
2b97c40383d9d25786189ec0659901bbc1ff2fbd
app/views/glsa/archive.html.erb
app/views/glsa/archive.html.erb
<h1> <span class="floatright"> <%= form_tag(archive_glsas_path, :remote => true) do -%> <%= image_tag 'icons/calendar-select-month.png' %> <%= date_select('view', 'month', :discard_day => true, :order => [:month, :year]) %> <%= image_submit_tag 'icons/next.png' %> <% end -%> </span> Released G...
<h1> <span class="floatright"> <%= form_tag(archive_glsas_path, :remote => true) do -%> <%= image_tag 'icons/calendar-select-month.png' %> <%= date_select('view', 'month', :discard_day => true, :order => [:month, :year], :start_year => 2003, :end_year => Time.now.year + 1) %> <%= image_submit_tag 'ico...
Make month/year selector start in 2003
Archive: Make month/year selector start in 2003
HTML+ERB
agpl-3.0
ackle/glsamaker-dev,ackle/glsamaker-dev
d641c79db3e9c727b9030811198448c47b28a904
app/views/reviews/_new.html.erb
app/views/reviews/_new.html.erb
<div class="review_form"> <h3>New Review</h3> <%= render "reviews/form", review: review, submit_text: "Create" %> </div>
<div class="review_form"> <h3>New Review</h3> <%= render "reviews/form", review: review, submit_text: "Submit" %> </div>
Change review create button text to 'submit' because LOGAN IS ALWAYS RIGHT
Change review create button text to 'submit' because LOGAN IS ALWAYS RIGHT
HTML+ERB
mit
bpjs/lunchpad,bpjs/lunchpad
4820e449063e365a24b2eaf34fa8205f02a8b98e
app/views/organizations/show.html.erb
app/views/organizations/show.html.erb
<h1><%= @organization.name %></h1> <p><%= @organization.website_url %></p> <p><%= @organization.description %></p> <button>Edit</button> <p>Projects List</p> <ul> <li>I am project</li> </ul> <%= button_to "New Project", new_project_path, :class => "button", :method => :get %>
<h1><%= @organization.name %></h1> <p><%= @organization.website_url %></p> <p><%= @organization.description %></p> <button>Edit</button> <p>Projects List</p> <ul> <% @organization.projects.each do |project| %> <li><%= link_to project.title, project_path(project) %></li> <% end %> </ul> <%= button_to "New Pro...
Add projects showing on organization profile, and links to projects page
Add projects showing on organization profile, and links to projects page
HTML+ERB
mit
kylefantastic/codellaborate,kylefantastic/code-laborate,kylefantastic/codellaborate,kylefantastic/codellaborate,kylefantastic/code-laborate,kylefantastic/code-laborate
1e358a83b08e09df59c5f6ad5f09fdcbeac468cc
app/views/pages/home/_footer.html.erb
app/views/pages/home/_footer.html.erb
<footer class="text-center"> <nav data-scroll-to-content="true"> <ul class="list-inline"> <li><%= link_to 'Helpful', root_path %></li> <li><%= link_to 'Blog', 'https://medium.com/@Helpful' %></li> <li><a href="#" data-helpful="helpful">Contact us</a></li> <li><%= link_to 'Twitter', 'https:...
<footer class="text-center"> <nav data-scroll-to-content="true"> <ul class="list-inline"> <li><%= link_to 'Helpful', root_path %></li> <li><%= link_to 'Assembly', 'https://assembly/helpful' %></li> <li><%= link_to 'Blog', 'https://medium.com/@Helpful' %></li> <li><a href="#" data-helpful="...
Add Assembly link in footer
Add Assembly link in footer
HTML+ERB
agpl-3.0
asm-helpful/helpful-web,asm-helpful/helpful-web,asm-helpful/helpful-web,asm-helpful/helpful-web
387cf7977e399633a21cb75a12cd50d7d891d793
app/views/users/sessions/new.html.erb
app/views/users/sessions/new.html.erb
<% content_for :heading do -%><%= t('myplaceonline.general.login') %><% end -%> <h1><%= t("myplaceonline.general.login") %></h1> <%= flashes! %> <%= form_for(resource, as: resource_name, url: session_path(resource_name)) do |f| %> <div> <%= f.label :email, class: "ui-hidden-accessible" %> <%= f.email_field :e...
<% content_for :heading do -%><%= t('myplaceonline.general.login') %><% end -%> <h1><%= t("myplaceonline.general.login") %></h1> <%= flashes! %> <% if flash.nil? || flash.to_hash["alert"].nil? || flash.to_hash["alert"].index("You have to confirm").nil? %> <%= form_for(resource, as: resource_name, url: session_path(re...
Remove confusion about login failing with unconfirmed account
Remove confusion about login failing with unconfirmed account
HTML+ERB
agpl-3.0
myplaceonline/myplaceonline_rails,myplaceonline/myplaceonline_rails,myplaceonline/myplaceonline_rails
6e6295093f2e561e5b6bf2f3c2b53bdeeeaf86b3
app/views/projects/_project_hidden.html.erb
app/views/projects/_project_hidden.html.erb
<header> <div class="title"> <%= link_to project.title, chapter_project_path(project.chapter, project), :class => "title" %> </div> <section class="meta-data"> <%= project.created_at %> (<%= project.chapter.name %>) <% if project.winner? %> · <%= link_to I18n.t(".view-public-page", scope: "pro...
<header> <div class="title"> <%= link_to project.title, chapter_project_path(project.chapter, project), :class => "title" %> </div> <section class="meta-data"> <%= project.created_at %> (<%= project.chapter.name %>) <% if project.winner? %> · <%= link_to I18n.t(".view-public-page", scope: "pro...
Remove 'delete' link from hidden projects in index view
Remove 'delete' link from hidden projects in index view
HTML+ERB
agpl-3.0
awesomefoundation/awesomebits,awesomefoundation/awesomebits,awesomefoundation/awesomebits,awesomefoundation/awesomebits,awesomefoundation/awesomebits
85cebe3987f47e693963259b6e242ef3c51bbb79
app/views/roles/_past_role_holders.html.erb
app/views/roles/_past_role_holders.html.erb
<% unless role.past_holders.empty? %> <section id="past-role-holders" class="govuk-!-padding-bottom-9"> <%= render "govuk_publishing_components/components/heading", { text: "Previous holders of this role", } %> <% if role.supports_historical_accounts? %> <p>Find out more about previous holder...
<% unless role.past_holders.empty? %> <section id="past-role-holders" class="govuk-!-padding-bottom-9"> <%= render "govuk_publishing_components/components/heading", { text: "Previous holders of this role", } %> <% if role.supports_historical_accounts? %> <p class="govuk-body" lang="en"> ...
Add govuk-body and lang attribute
Add govuk-body and lang attribute
HTML+ERB
mit
alphagov/collections,alphagov/collections,alphagov/collections,alphagov/collections
68dbe6c08f8336c713c911f80d83d9fed4684758
app/views/shared/_attachments_form.html.erb
app/views/shared/_attachments_form.html.erb
<%= form_for(@attachment, :url => url, method: method) do |f| %> <%= f.label :title %> <%= f.text_field :title, class: 'form-control input-md-8' %> <%= f.label :image %> <%= f.file_field :file %> <div class='actions'> <button type="submit" class='btn btn-success'>Save attachment</button> ...
<%= form_for(@attachment, :url => url, method: method) do |f| %> <p> <%= f.label :title %> <%= f.text_field :title, class: 'form-control input-md-8' %> </p> <p> <%= f.label :file %> <%= f.file_field :file %> </p> <div class='actions'> <button type="submit" class='btn btn-success'>Save atta...
Change attachment form label and style
Change attachment form label and style - Change text on attachment form label to File as opposed to Image to match V1 - Wrap form label and corresponding field in paragraph tags to match v1 styling
HTML+ERB
mit
alphagov/specialist-publisher-rebuild,alphagov/specialist-publisher,alphagov/specialist-publisher,alphagov/specialist-publisher,alphagov/specialist-publisher-rebuild,alphagov/specialist-publisher-rebuild,alphagov/specialist-publisher-rebuild
eba331d1f3e1199626460e9a5f8043df9a64d4a0
app/views/licences/_introduction.html.erb
app/views/licences/_introduction.html.erb
<article role="article" class="group"> <div class="inner"> <% if @interaction_details %> <div class="intro"> <% if @interaction_details[:licence]['location_specific'] %> <div class="get-started-intro"> <h1>Apply for this licence</h1> <%= render :partial => 'location_form', ...
<article role="article" class="group"> <div class="inner"> <% if @interaction_details %> <div class="intro"> <% if @interaction_details[:licence]['location_specific'] %> <div class="get-started-intro"> <h1>Apply for this licence</h1> <%= render :partial => 'location_form', ...
Copy change licences introduction page
Copy change licences introduction page
HTML+ERB
mit
alphagov/frontend,alphagov/frontend,alphagov/frontend,alphagov/frontend
cd5eedc3f8f3d6c467146aec24b3a57b38bba6a9
app/views/feeds/news.html.erb
app/views/feeds/news.html.erb
<ul> <% @entries.each do |entry| %> <li class='post' onclick='location.href="<%= entry.url %>"'> <h1 class='title'><%= entry.title.sanitize %></h1> <h2 class='pubdate'><%= entry.published.to_s(:published) %></h2> <div class='summary'><%= raw(entry.summary.gsub(/<[^>]+>/i,"&nbsp;").match(/^((\S+\s)...
<ul> <% @entries.each do |entry| %> <li class='post' onclick='location.href="<%= entry.url %>"'> <h1 class='title'><%= entry.title.sanitize %></h1> <h2 class='pubdate'><%= entry.published.to_s(:published) %></h2> <div class='summary'><%= raw(entry.summary.gsub(/<[^>]+>/i," ").match(/^((\S+\s){1,25...
Replace tags with a space
Replace tags with a space
HTML+ERB
mit
CMP-Studio/cmoa-app-cms,CMP-Studio/cmoa-app-cms,CMP-Studio/cmoa-app-cms
1e53138df43953a7f4293c4a3b6a9b85f23977e7
app/views/posts/show.html.erb
app/views/posts/show.html.erb
<p id="notice"><%= notice %></p> <%= image_tag @post.animal.image.url(:medium) %> <p> <strong>User:</strong> <%= @post.user_id %> </p> <p> <strong>Animal:</strong> <%= @post.animal_id %> </p> <p> <strong>Found status:</strong> <%= @post.found_status %> </p> <p> <strong>Location:</strong> <%= @post....
<p id="notice"><%= notice %></p> <h1> <strong>LOST <%= @post.animal.breed.species.name %> </strong> </h2> <%= image_tag @post.animal.image.url(:medium) %> <p> <strong><%= @post.animal.name %></strong> </p> <p>Our beloved <%= @post.animal.age %> year old <%= @post.animal.breed.name %> breed was lost on <%= @pos...
Fix merge conflict in breed model
Fix merge conflict in breed model
HTML+ERB
mit
dnguyensr/missingfursons,dnguyensr/missingfursons,dnguyensr/missingfursons
10b7d673499bb319847a616e46429609d2307a34
app/views/items/_past_vote.html.erb
app/views/items/_past_vote.html.erb
<div class="vote-buttons"> <div class="row"> <div class="past-vote"> <h4>You already voted '<%= @item.user_votes.where(user_id: current_user.id, item_id: @item.id).first.vote %>' for this agenda item</h4> </div> </div> </div>
Create partial to show the vote of the current user on an item
Create partial to show the vote of the current user on an item
HTML+ERB
mit
CivicHaxx/ok_councillr,CivicHaxx/ok_councillr,CivicHaxx/ok_councillr
51bb59578b8c8998aee48ea48e313a865e3d37b7
app/views/sessions/_cancel.html.erb
app/views/sessions/_cancel.html.erb
<% if ( current_user && current_user.admin? ) or session.instructor?( current_user ) %> <% if session.time && session.time > Time.now && !session.cancelled %> <%= javascript_include_tag 'modal' %> <div id="cancel-session-dialog" class="content-section"> <h2>Cancel Session</h2> <p> Are you sure you want t...
<% if ( current_user && current_user.admin? ) or session.instructor?( current_user ) %> <% if session.time && session.time > Time.now && !session.cancelled %> <%= javascript_include_tag 'modal' %> <div id="cancel-session-dialog" class="content-section"> <h2>Cancel Session</h2> <p> Are you sure you want t...
Fix error when cancelling a session from the edit page. bugid: 3456
Fix error when cancelling a session from the edit page. bugid: 3456
HTML+ERB
apache-2.0
txstate-etc/signup,txstate-etc/txst-signup,txstate-etc/signup,txstate-etc/txst-signup,txstate-etc/signup,txstate-etc/txst-signup
f8055173726b35a1d59b11d75de4e984869cde8c
lib/exception_notifier/views/exception_notifier/background_exception_notification.text.erb
lib/exception_notifier/views/exception_notifier/background_exception_notification.text.erb
<%= @exception.class.to_s =~ /^[aeiou]/i ? 'An' : 'A' %> <%= @exception.class %> occurred in background at <%= raw @timestamp %> : <%= @exception.message %> <%= @backtrace.first %> <% sections = @sections.map do |section| summary = render(section).strip unless summary.blank? title = r...
<%= @exception.class.to_s =~ /^[aeiou]/i ? 'An' : 'A' %> <%= @exception.class %> occurred in background at <%= raw @timestamp %> : <%= @exception.message %> <%= @backtrace.first %> <% sections = @sections.map do |section| summary = render(section).strip unless summary.blank? title = render("t...
Align output of section-headers consistently
Align output of section-headers consistently Before, the header of the first section was prefixed by two spaces, leading to a visual disruption.
HTML+ERB
mit
smartinez87/exception_notification,smartinez87/exception_notification
0fdfe712a1331b5dac418e3b816bf1d01001b057
jobs/openvpn/templates/etc/openvpn.conf.erb
jobs/openvpn/templates/etc/openvpn.conf.erb
mode server writepid /var/vcap/sys/run/openvpn/openvpn.pid client-config-dir /var/vcap/jobs/openvpn/etc/ccd ca /var/vcap/jobs/openvpn/etc/ca.crt cert /var/vcap/jobs/openvpn/etc/server.crt key /var/vcap/jobs/openvpn/etc/server.key dh /var/vcap/jobs/openvpn/etc/dh.pem crl-verify /var/vcap/jobs/openvpn/etc/crl.pem proto t...
mode server writepid /var/vcap/sys/run/openvpn/openvpn.pid client-config-dir /var/vcap/jobs/openvpn/etc/ccd ca /var/vcap/jobs/openvpn/etc/ca.crt cert /var/vcap/jobs/openvpn/etc/server.crt key /var/vcap/jobs/openvpn/etc/server.key dh /var/vcap/jobs/openvpn/etc/dh.pem <% if_p('openvpn.crl_pem') do %> crl-verify /var/vcap...
Support optional usage of CRLs
Support optional usage of CRLs
HTML+ERB
apache-2.0
dpb587/openvpn-bosh-release,dpb587/openvpn-boshrelease,dpb587/openvpn-bosh-release,dpb587/openvpn-bosh-release,dpb587/openvpn-boshrelease
cfe3f6e59e9b716bfa76b355208d45bff1684945
app/views/blog_post_page/index.html.erb
app/views/blog_post_page/index.html.erb
<div class="add-margin fontsize-for-blog"> <%= scrivito_tag_list :ul, @obj, :toclist do |list, child| %> <%= list.tag :li do %> <%= link_to child.display_title, scrivito_path(child) %> <% end %> <% end %>  <%= content_tag(:div, scrivito_value(@obj.created.strftime("%Y/%m/%d")), :class => "text-muted...
<div class="add-margin fontsize-for-blog"> <%= scrivito_tag_list :ul, @obj, :toclist do |list, child| %> <%= list.tag :li do %> <%= link_to child.display_title, scrivito_path(child) %> <% end %> <% end %>  <%= content_tag(:div, scrivito_value(@obj.created.strftime("%Y年%m月%d日")), :class => "text-mute...
Use 年月日 in blog post page
Use 年月日 in blog post page
HTML+ERB
mit
coderdojo-japan/coderdojo.jp,coderdojo-japan/coderdojo.jp,yasslab/coderdojo.jp,coderdojo-japan/coderdojo.jp,coderdojo-japan/coderdojo.jp,yasslab/coderdojo.jp,yasslab/coderdojo.jp
f42cec4c417828cbe3ede6b42e85b59a253b9db8
app/views/shared/_social_share.html.erb
app/views/shared/_social_share.html.erb
<div id="social-share" class="sidebar-divider"></div> <h2><%= share_title %></h2> <div class="social-share-full"> <%= social_share_button_tag("#{title} #{setting['twitter_hashtag']}") %> <a href="whatsapp://send?text=<%= title.gsub(/\s/, '%20') %>&nbsp;<%= url %>" class="show-for-small-only" data-action="share...
Create shared partial for Social Share block
Create shared partial for Social Share block
HTML+ERB
agpl-3.0
AyuntamientoPuertoReal/decidePuertoReal,AyuntamientoPuertoReal/decidePuertoReal,CDJ11/CDJ,lalibertad/consul,consul/consul,AyuntamientoMadrid/participacion,AjuntamentdeCastello/consul,lalibertad/consul,deivid-rodriguez/participacion,AjuntamentdeCastello/consul,votedevin/consul,deivid-rodriguez/participacion,votedevin/co...
09c824e590642bbaa0268a45df1dde5d5b5811cf
lib/transpec/dynamic_analyzer/helper.rb.erb
lib/transpec/dynamic_analyzer/helper.rb.erb
require 'pathname' module TranspecAnalysis @base_path = Dir.pwd def self.data @data ||= {} end at_exit do # Use JSON rather than Marshal so that: # * Unknown third-party class information won't be serialized. # (Such objects are stored as a string.) # * Singleton method information won'...
module TranspecAnalysis @base_path = Dir.pwd def self.data @data ||= {} end at_exit do # Use JSON rather than Marshal so that: # * Unknown third-party class information won't be serialized. # (Such objects are stored as a string.) # * Singleton method information won't be serialized. ...
Remove unneeded require of pathname in dynamic analysis helper
Remove unneeded require of pathname in dynamic analysis helper
HTML+ERB
mit
yujinakayama/transpec,irfanah/transpec,yujinakayama/transpec,irfanah/transpec
81337e2511051d2e383226423ea05618b30bf556
app/views/departments/show.html.erb
app/views/departments/show.html.erb
<h1><%= @department.area.name %></h1> <h2><%= @department.name %></h2> <p><%= @department.description %></p> <h2>Directrices</h2> <p><%= @department.directives.html_safe %></p> <h2>Objetivos</h2> <ul class="objectives"> <% @department.objectives.order(:order).each do |objective| %> <%= content_tag_for :li, ob...
<h1><%= @department.area.name %></h1> <h2><%= @department.name %></h2> <p><%= @department.description %></p> <h2>Directrices</h2> <p><%= @department.directives.html_safe %></p> <h2>Objetivos</h2> <ul class="objectives"> <% @department.objectives.order(:order).each do |objective| %> <%= content_tag_for :li, ob...
Add edit objective to department show
Add edit objective to department show
HTML+ERB
agpl-3.0
AyuntamientoMadrid/transparencia,AyuntamientoMadrid/transparencia,AyuntamientoMadrid/transparencia,psicobyte/transparencia,psicobyte/transparencia,psicobyte/transparencia,rockandror/transparencia,rockandror/transparencia,rockandror/transparencia,AyuntamientoMadrid/transparencia
d0591b0ba3c61312f9c47862046b767fd4c1a86a
app/views/layouts/_timeout.html.erb
app/views/layouts/_timeout.html.erb
<!-- Timeout modal --> <div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal"><span aria-hidden="tru...
<!-- Timeout modal --> <div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal"><span aria-hidden="tru...
Remove JS from timeout partial
Remove JS from timeout partial
HTML+ERB
isc
codeforamerica/homebase,codeforamerica/homebase,randy-r-masters/homebase,randy-r-masters/homebase,randy-r-masters/homebase,codeforamerica/homebase,schlos/homebase,schlos/homebase,schlos/homebase
428ba19f5a079f245e2d2c9e373ddb43747ff60f
app/views/ranking/_ranking.html.erb
app/views/ranking/_ranking.html.erb
<table class="table table-hover"> <thead> <tr> <th style="width:100px">Posição</th> <th>Usuário</th> <th>Quantidade</th> </tr> </thead> <tbody> <% @i = 0 %> <% top_users.each do |user| %> <tr> <td> <center><span class="ranking-potision"><%= "#{@i += 1} º"%></span></center></td> <td> <div ...
Add partial for ranking table
[Template] Add partial for ranking table
HTML+ERB
mit
marceloboeira/spread_blood,SpreadBlood/core,marceloboeira/spread_blood,marceloboeira/spread_blood,SpreadBlood/core,SpreadBlood/core
0d9dbeedbfe37a0f9168ae97ea43d7b9415fe4a0
app/views/assignments/index.html.erb
app/views/assignments/index.html.erb
<div id="section"> <% @assignments.each do |assignment| %> <a href="/assignments/<%= assignment.id %>"><%= assignment.name %></a> : <%= assignment.abstract %><br/> <% end %> </div> <div id="section"> <% if !current_user.nil? && current_user.admin? %> <%= link_to "New assignment", new_assignment_path, :class => "comman...
<table width="100%" border="1" cellspacing="0"> <tr><th>Name</th><th>Abstract</th><th>Due Date</th></tr> <% @assignments.each do |assignment| %> <tr> <td><%= link_to assignment.name, assignment_path(assignment) %></td> <td><%= link_to assignment.abstract, assignment_path(assignment) %></td> <td><%= link_to assign...
Move assignments view to tabular format.
Move assignments view to tabular format.
HTML+ERB
mit
briantemple/homeworkr,briantemple/homeworkr
79cc683c2b4fb207226a930bbf6a4e6e77e97b01
app/views/shared/_country_picker.erb
app/views/shared/_country_picker.erb
<%= form_for controller, method: :post, url: url do |f| %> <fieldset class="country-picker js-country-picker box font-xsmall"> <div class="country-picker-container"> <%= f.label :country, 'Trade between the UK and' %> <%= f.hidden_field :anchor, value: anchor %> <%= f.select :country, f.object.c...
<%= form_for controller, method: :post, url: url, namespace: anchor do |f| %> <fieldset class="country-picker js-country-picker box font-xsmall"> <div class="country-picker-container"> <%= f.hidden_field :anchor, value: anchor %> <%= f.label :country, 'Trade between the UK and' %> <%= f.select :...
Add namespace to avoid id collisions
Add namespace to avoid id collisions
HTML+ERB
mit
alphagov/trade-tariff-frontend,alphagov/trade-tariff-frontend,bitzesty/trade-tariff-frontend,bitzesty/trade-tariff-frontend,alphagov/trade-tariff-frontend,alphagov/trade-tariff-frontend,bitzesty/trade-tariff-frontend,bitzesty/trade-tariff-frontend
ba5a875a5382480e9fb558664d4cf645c0e7dca0
app/views/device_sync_entries/index.html.erb
app/views/device_sync_entries/index.html.erb
<section class="widget"> <header> <h4><i class="icon-mobile-phone"></i> Device Syncs</h4> </header> <div class="body"> <table class="table table-hover"> <thead> <tr> <th>Latitude</th> <th>Longitude</th> <th>Number of Surveys</th> <th>Current Language</...
<section class="widget"> <header> <h4><i class="icon-mobile-phone"></i> Device Syncs</h4> </header> <div class="body"> <table class="table table-hover"> <thead> <tr> <th>Latitude</th> <th>Longitude</th> <th>Number of Surveys</th> <th>Current Language</...
Remove api key for device_sync_entries view
Remove api key for device_sync_entries view
HTML+ERB
mit
DukeMobileTech/rails_survey,DukeMobileTech/rails_survey,DukeMobileTech/rails_survey
700afa1998af819597f5a84f7669eb86f0828e74
app/views/shared/_newsletter_signup.html.erb
app/views/shared/_newsletter_signup.html.erb
<%= form_tag(main_app.newsletter_subscription_path, class: 'newsletter-signup t-newsletter', remote: true) do %> <%= hidden_field_tag :authenticity_token, form_authenticity_token -%> <h2 class="newsletter-signup__heading"><%= t('newsletter_subscriptions.title') %></h2> <ul class="newsletter-signup__benefits-lis...
<%= form_tag(main_app.newsletter_subscription_path, class: 'newsletter-signup t-newsletter', remote: true) do %> <%= hidden_field_tag :authenticity_token, form_authenticity_token -%> <h2 class="newsletter-signup__heading"><%= t('newsletter_subscriptions.title') %></h2> <ul class="newsletter-signup__benefits-lis...
Remove placeholder in the newsletter input box
Remove placeholder in the newsletter input box
HTML+ERB
mit
moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend
44316f4ac6ddf51fc3a4d7377a81ea06a7697726
rap-battle/app/views/songs/index.html.erb
rap-battle/app/views/songs/index.html.erb
<h1>Songs...To Be Continued.</h1> <%= form_tag("/", method: "get") do %> <%= label_tag("Search for:") %> <%= text_field_tag(:q) %> <%= submit_tag("Search") %> <% end %> <% if @song %> <%= @song.title %> <% end %>
<h1>Songs...To Be Continued.</h1> <%= form_tag("/", method: "get") do %> <%= label_tag("Search for:") %> <%= text_field_tag(:q) %> <%= submit_tag("Search") %> <% end %> <% if @song %> <%= @song.primary_artist.name %> <%= image_tag(@song.primary_artist.image_url, :alt => @song.primary_artist.name) %> <%= @...
Add image and artist name
Add image and artist name
HTML+ERB
mit
aftaberski/rap-battle,aftaberski/rap-battle,aftaberski/rap-battle
215af999ca4c1cb5e8872e92e8df217a28f85d1e
modules/govuk_jenkins/templates/jobs/govuk_navigation_link_analysis.yaml.erb
modules/govuk_jenkins/templates/jobs/govuk_navigation_link_analysis.yaml.erb
--- - scm: name: govuk_tagging_monitor_for_nav scm: - git: url: git@github.com:alphagov/govuk-tagging-monitor.git basedir: govuk-tagging-monitor branches: - master - job: name: govuk_navigation_link_analysis display-name: govuk-navigation-link-analysis ...
--- - scm: name: govuk_tagging_monitor_for_nav scm: - git: url: git@github.com:alphagov/govuk-tagging-monitor.git basedir: govuk-tagging-monitor branches: - master - job: name: govuk_navigation_link_analysis display-name: govuk-navigation-link-analysis ...
Save navigation link analysis to a shared Google Drive
Save navigation link analysis to a shared Google Drive
HTML+ERB
mit
alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet
735e2881214df8142fe2a10dc5fee341d5b0c459
templates/Gemfile_custom.erb
templates/Gemfile_custom.erb
source 'https://rubygems.org' gem 'coffee-rails', '~> 4.0.0' <% if options[:devise] -%> gem 'devise' <% end -%> gem 'dotenv-rails' gem 'flutie' gem 'jquery-rails' gem 'pg' gem 'rails', '~> 4.0.0' gem 'sass-rails', '~> 4.0.0' gem 'simple_form' gem 'slim-rails' gem 'uglifier', '>= 1.3.0' group :development do gem 'be...
source 'https://rubygems.org' gem 'coffee-rails', '~> 4.0.0' <% if options[:devise] -%> gem 'devise' <% end -%> gem 'dotenv-rails' gem 'flutie' gem 'jquery-rails' gem 'pg' gem 'rails', '~> 4.0.0' gem 'sass-rails', '~> 4.0.0' gem 'simple_form' gem 'slim-rails' gem 'uglifier', '>= 1.3.0' group :development do gem 'be...
Add pry-rails to default Gemfile
Add pry-rails to default Gemfile
HTML+ERB
mit
m43nu/m43nu_rails,m43nu/m43nu_rails,blueberryapps/blueberry_rails,m43nu/m43nu_rails,blueberryapps/blueberry_rails
a110993e22428e3699277cdd5bcbb5fb5563e3e1
app/views/hub/splash.erb
app/views/hub/splash.erb
<div class="video-container"> <div class="splash"> <h1 class="waves-effect big-header center-align">the &lt;HIVE&gt;</h1> <div class="waves-effect copy center-align"><p class="copy-text">Collaborate. Inspire. Innovate.</p></div> <div class="waves-effect login-links center-align"> <a class="waves-light btn moda...
Add application.html.erb code in addition to video container content
Add application.html.erb code in addition to video container content
HTML+ERB
mit
AlinaJahnes/the-hive,AlinaJahnes/the-hive,nyc-bumblebees-2015/the-hive,nyc-bumblebees-2015/the-hive,AlinaJahnes/the-hive,Jguzik83/the-hive,ChristineSchatz/the-hive,ChristineSchatz/the-hive,nyc-bumblebees-2015/the-hive,ChristineSchatz/the-hive,Jguzik83/the-hive,Jguzik83/the-hive
00e17f2c6fb49d655a93314e2818617ae5c76717
app/views/coronavirus_landing_page/components/shared/_timeline.html.erb
app/views/coronavirus_landing_page/components/shared/_timeline.html.erb
<div class="covid-timeline" data-module="track-links" data-track-category="pageElementInteraction" data-track-action="Timeline"> <%= render "govuk_publishing_components/components/heading", { text: timeline["heading"], padding: true, margin_bottom: 4 } %> <% timeline["list"].each do | item | %> <...
<div class="covid-timeline" data-module="track-links" data-track-category="pageElementInteraction" data-track-action="Timeline"> <%= render "govuk_publishing_components/components/heading", { text: timeline["heading"], padding: true, margin_bottom: 4 } %> <% if timeline["summary"] %> <%= render_g...
Add an optional summary field to Coronavirus timeline
Add an optional summary field to Coronavirus timeline This field has been added to meet an immediate need for contextual text immediately below the timeline heading and before the timeline entries. This is being added in a hurry as copy had been signed off that didn't fully match what was available for editing. We pl...
HTML+ERB
mit
alphagov/collections,alphagov/collections,alphagov/collections,alphagov/collections
72caa7c1b70922eda578e6a7b7488478a2808d72
app/config.yml.erb
app/config.yml.erb
:base_path: <%= "#{ENV['GEMSTASH_HOME']}/data" %> :cache_type: memory :rubygems_url: https://rubygems.org :puma_threads: 16 :bind: tcp://0.0.0.0:9292 :protected_fetch: false :fetch_timeout: 20 :log_file: :stdout # MySQL Adapter Settings <% if ENV['GEMSTASH_DB_ADAPTER'] == 'mysql2' %> :db_adapter: <%= ENV['GEMSTASH_DB_...
:base_path: <%= "#{ENV['GEMSTASH_HOME']}/data" %> :cache_type: memory :rubygems_url: https://rubygems.org :puma_threads: 16 :bind: tcp://0.0.0.0:9292 :protected_fetch: false :fetch_timeout: 20 :log_file: :stdout # MySQL Adapter Settings <% if ENV['GEMSTASH_DB_ADAPTER'] == 'mysql2' %> :db_adapter: <%= ENV['GEMSTASH_DB_...
Remove attributes we are not sure about
Remove attributes we are not sure about
HTML+ERB
mit
Intellection/docker-gemstash,Intellection/docker-gemstash
4178fc636a68ad9700003b6211fce8a89e208a72
app/views/devise/registrations/new.html.erb
app/views/devise/registrations/new.html.erb
<h2>Sign up as a <%= resource_name %></h2> <%= form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f| %> <%= devise_error_messages! %> <div class="field"> <%= f.label :name %><br /> <%= f.text_field :name, autofocus: true %> </div> <div class="field"> <%= f.label :por...
<h2>Sign up as a <%= resource_name %></h2> <%= form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f| %> <%= devise_error_messages! %> <div class="field"> <%= f.label :name %><br /> <%= f.text_field :name, autofocus: true %> </div> <div class="field"> <%= f.label :rol...
Remove the portfolio field from sign up form.
Remove the portfolio field from sign up form. Signed-off-by: Siddharth Kannan <805f056820c7a1cecc4ab591b8a0a604b501a0b7@gmail.com>
HTML+ERB
mit
aniarya82/networking-rails,aniarya82/networking-rails,aniarya82/networking-rails,icyflame/erp-rails,icyflame/erp-rails,icyflame/erp-rails
c46ae7179d4624753a9491fb4f08d0a50038314e
app/views/layouts/_elmo_form_field.html.erb
app/views/layouts/_elmo_form_field.html.erb
<%# TODO the id attrib below should be deprecated as its not well scoped. %> <%= content_tag(:div, class: wrapper_classes, id: field_name, data: {field_name: field_name}) do %> <%# This appears first here but is usually moved to the end using flex box %> <%# We do it this way so we can move the control to its own l...
<%# TODO the id attrib below should be deprecated as its not well scoped. %> <%= content_tag(:div, class: wrapper_classes, id: field_name, data: {field_name: field_name}) do %> <%# This appears first here but is usually moved to the end using flex box %> <%# We do it this way so we can move the control to its own l...
Fix inline hint css class application
10470: Fix inline hint css class application
HTML+ERB
apache-2.0
thecartercenter/elmo,thecartercenter/elmo,thecartercenter/elmo
5a1a7e1056a3e9c19ad2f47614068d1034fae6dd
lib/theme_template/theme.gemspec.erb
lib/theme_template/theme.gemspec.erb
# coding: utf-8 Gem::Specification.new do |spec| spec.name = <%= theme_name.inspect %> spec.version = "0.1.0" spec.authors = [<%= user_name.inspect %>] spec.email = [<%= user_email.inspect %>] spec.summary = %q{TODO: Write a short summary, because Rubygems requires one.} ...
# coding: utf-8 Gem::Specification.new do |spec| spec.name = <%= theme_name.inspect %> spec.version = "0.1.0" spec.authors = [<%= user_name.inspect %>] spec.email = [<%= user_email.inspect %>] spec.summary = %q{TODO: Write a short summary, because Rubygems requires one.} ...
Remove the plugin_theme metadata field. Not useful.
Remove the plugin_theme metadata field. Not useful.
HTML+ERB
mit
gencer/jekyll,tomjohnson1492/jekyll,alfredxing/jekyll,tillgrallert/jekyll,getandpost/jekyll.github.io,chrisfinazzo/jekyll,xcatliu/jekyllcn,rasa2011/rasa2011.github.io,jaybe-jekyll/jekyll,ZDroid/jekyll,jeffkole/jekyll,darwin/jekyll,fulldecent/jekyll,rasa2011/rasa2011.github.io,x-way/jekyll,Strangehill/jekyll,alex-kovac/...
468ec45ebdb9f351d45fb23f8f930bcd33fe1e12
lib/views/general/frontpage.html.erb
lib/views/general/frontpage.html.erb
<% cache_if_caching_fragments("frontpage-#{@locale}", :expires_in => 5.minutes) do %> <div id="frontpage_splash"> <div id="left_column"> <%= render :partial => "frontpage_new_request" %> </div> <div id="right_column"> <div id="frontpage_search_box"> <%= render :partial => "frontpage_se...
Copy old frontpage template into theme
Copy old frontpage template into theme In prep for upgrading to 0.23
HTML+ERB
mit
mysociety/panama-theme,mysociety/panama-theme,mysociety/panama-theme,mysociety/panama-theme
029e2fd0553c179b1fafcb9fdb3dd9091d21ab3a
nedss-poc/rails/nedss/app/views/events/index.html.erb
nedss-poc/rails/nedss/app/views/events/index.html.erb
<h1>Listing Confidential Morbidity Reports</h1> <table> <% for event in @events %> <tr> <td><%= event.event_name %>, <%= event.event_onset_date %> <%= l event.event_status %> </td> <td><%= link_to 'Show', cmr_path(event) %></td> <td><%= link_to 'Edit', edit_cmr_path(event) %></td> <td><%= link_to 'De...
<h1>Listing Confidential Morbidity Reports</h1> <table> <% for event in @events %> <tr> <td><%= event.event_name %>, <%= event.event_onset_date %> <%= l event.event_status %> </td> <td><%= link_to 'Show', cmr_path(event) %></td> <td><%= link_to 'Edit', edit_cmr_path(event) %></td> <td><%= link_to 'De...
Put the link for Export to CSV back on CMRs.
Put the link for Export to CSV back on CMRs. git-svn-id: 105a8f2fe5eb3dca76b21e204c69f6587dfa9961@342 b21a84b9-e453-0410-92a3-c4f515f7ae45
HTML+ERB
agpl-3.0
JayBoyer/new-trisano,JayBoyer/new-trisano,JayBoyer/new-trisano,JayBoyer/new-trisano,JayBoyer/new-trisano,JayBoyer/new-trisano,JayBoyer/new-trisano
3e39710369273449d3c92b92aa23f7b77a10bb18
modules/govuk_heka/templates/etc/heka/global.toml.erb
modules/govuk_heka/templates/etc/heka/global.toml.erb
[hekad] maxprocs = <%= @heka_maxprocs %> plugin_chansize = 30
[hekad] maxprocs = <%= @heka_maxprocs %> plugin_chansize = 30 pool_size = 130
Increase heka's `pool_size` to 130
Increase heka's `pool_size` to 130 The default pool size for heka is 100. This means we can have 100 packs (messages) for all of the inputs to use. But we might be using all of those packs through the `StatFilter` so none of them will be left for the `StatAccumInput` to use. Increasing this will mean that even if the...
HTML+ERB
mit
alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet
0940a38f8a4ede36905c08f4a09cce3517aa1456
conf/nginx/slim.conf.erb
conf/nginx/slim.conf.erb
# Default configuration for non-framework apps root <%= ENV['DOCUMENT_ROOT'] %>; try_files $uri /index.php; # this will only pass index.php to the fastcgi process which is generally safer but # assumes the whole site is run via Slim. location /index.php { include fastcgi_params; fastcgi_connect_timeout 3s; ...
# Default configuration for non-framework apps root /app/<%= ENV['DOCUMENT_ROOT'] %>; try_files $uri /index.php; # this will only pass index.php to the fastcgi process which is generally safer but # assumes the whole site is run via Slim. location /index.php { include fastcgi_params; fastcgi_connect_timeout 3...
Make document root relative to /app
Make document root relative to /app
HTML+ERB
mit
pierredup/packager-buildpack-php,stof/heroku-buildpack-php,CHH/heroku-buildpack-php,pierredup/packager-buildpack-php,briankilgore/heroku-buildpack-php-prod,Scalingo/php-buildpack,AlphaStaxLLC/heroku-buildpack-php-custom,stof/heroku-buildpack-php,Scalingo/php-buildpack,OKAMca/heroku-buildpack-php,jstacoder/heroku-buildp...
ba6276c625d83dab8688bacafffd0f0a997d6cd8
app/views/shared/_whats_new_banner.html.erb
app/views/shared/_whats_new_banner.html.erb
<% tracking_module ||= "gem-track-click" %> <%= render "govuk_publishing_components/components/phase_banner", { phase: "What's new", message: sanitize("6 October: topic taxonomy tags page moves to the GOV.UK Design System - #{ link_to( "find more about the change", admin_whats...
<% tracking_module ||= "gem-track-click" %> <%= render "govuk_publishing_components/components/phase_banner", { phase: "What's new", message: sanitize("6 October: topic taxonomy tags page moves to the GOV.UK Design System - #{ link_to( "find out more about the change", admin_w...
Fix typo in what's new phase banner
Fix typo in what's new phase banner This adds in a missing word in the phase banner.
HTML+ERB
mit
alphagov/whitehall,alphagov/whitehall,alphagov/whitehall,alphagov/whitehall
99d92791f997fba8bb1a07464cfb146badc28ff1
config/template_openstack.yml.erb
config/template_openstack.yml.erb
name: <%= name %>----{{user `image_name`}} type: openstack username: <%= cloud.key %> password: <%= cloud.secret %> tenant_name: <%= cloud.tenant_name %> identity_endpoint: <%= cloud.entry_point %>v2.0/tokens domain_name: default region: RegionOne flavor: <%= cloud.client.adapter.flavor(CloudConductor::Config.packer.op...
name: <%= name %>----{{user `image_name`}} type: openstack username: <%= cloud.key %> password: <%= cloud.secret %> tenant_name: <%= cloud.tenant_name %> identity_endpoint: <%= cloud.entry_point %>v2.0/tokens region: RegionOne flavor: <%= cloud.client.adapter.flavor(CloudConductor::Config.packer.openstack_flavor_name)....
Delete domain_name variable to support Openstack Liberty
Delete domain_name variable to support Openstack Liberty
HTML+ERB
apache-2.0
cloudconductor/cloud_conductor,cloudconductor/cloud_conductor,cloudconductor/cloud_conductor
96f8417086b57e960bd66dfd8e6e2e211d690997
app/views/contacts/_contact_details.html.erb
app/views/contacts/_contact_details.html.erb
<% if contact.contact_form_links.any? %> <div class="online-forms"> <h2>Online forms</h2> <ul class="form-links"> <%= render partial: "contact_form_link", collection: contact.contact_form_links %> </ul> <div class="govspeak"> <%= raw contact.more_info_contact_form %> </div> </div> <%...
<% if contact.contact_form_links.any? %> <div class="online-forms"> <h2>Online forms</h2> <ul class="form-links"> <%= render partial: "contact_form_link", collection: contact.contact_form_links %> </ul> <div class="govspeak"> <%= raw contact.more_info_contact_form %> </div> </div> <%...
Add govspeak styling to 'more info' for email
Add govspeak styling to 'more info' for email Previous commit (65cdbcbdfc161f14c0d16ca613dfb10f80beac08) added govspeak support for postal addresses and online forms but not email addresses. This makes that change for email addresses too.
HTML+ERB
mit
alphagov/contacts-frontend,alphagov/contacts-frontend,alphagov/contacts-frontend,alphagov/contacts-frontend
26d03a2367a56b2617fb22db996db2f82c0168dc
app/views/onboarding/inset_days/new.html.erb
app/views/onboarding/inset_days/new.html.erb
<div class="row justify-content-md-center"> <div class="col col-md-10 col-lg-8"> <h1>New inset day</h1> <%= simple_form_for(@calendar_event, url: onboarding_inset_days_path(@school_onboarding)) do |f| %> <div class="form-group"> <%= f.label :start_date, 'Date' %> <div class="input-group...
<div class="row justify-content-md-center"> <div class="col col-md-10 col-lg-8"> <h1>New inset day</h1> <%= simple_form_for(@calendar_event, url: onboarding_inset_days_path(@school_onboarding)) do |f| %> <div class="form-group"> <%= f.label :start_date, 'Date' %> <div class="input-group...
Swap type and description for inset days
Swap type and description for inset days
HTML+ERB
mit
BathHacked/energy-sparks,BathHacked/energy-sparks,BathHacked/energy-sparks,BathHacked/energy-sparks
7ee7a3db67a60d18242b08f42399ebbf8db6e1df
app/views/shared/_multi_search_intro.html.erb
app/views/shared/_multi_search_intro.html.erb
<div class="row search-info"> <div class="col-xs-4 info-step"> <h2>Enter a peptide list</h2> <p> Paste a list of peptides from your metaproteomics experiment in the search box. Each line should contain a single peptide. </p> </div> <div class="col-xs-4 info-step"> <h2>Click search</h2> <...
<div class="row search-info"> <div class="col-xs-4 info-step"> <h2>Select samples</h2> <p> Make a selection of samples that should be analysed. New samples can be added by pasting a peptide list, or existing samples can be reused. </p> </div> <div class="col-xs-4 info-step"> <h2>Click search...
Fix help on start page
Fix help on start page
HTML+ERB
mit
unipept/unipept,unipept/unipept,unipept/unipept,unipept/unipept,unipept/unipept
39fb87d439c9c77a739371f3a3ee56fdae6bd776
app/views/plutus/reports/_account.html.erb
app/views/plutus/reports/_account.html.erb
<table class="table table-striped table-hover"> <caption class="text-left"><b><%=name%></b></caption> <thead> <tr> <th></th> <th></th> </tr> </thead> <% if accounts.count > 0%> <tbody> <% accounts.each do |account| %> <tr class="<%= cycle("even", "odd") -%>"> <td><%=h account.name ...
<table class="table table-striped table-hover"> <caption class="text-left"><b><%=name%></b></caption> <thead> <tr> <th></th> <th></th> </tr> </thead> <% if accounts.count > 0%> <tbody> <% running_total = 0 %> <% accounts.each do |account| %> <% balance = account.balance(:from_date => @...
Add totals sections to balance sheet and income statement.
Add totals sections to balance sheet and income statement.
HTML+ERB
mit
freerobby/plutus,freerobby/plutus,freerobby/plutus
dd975bbc2a16fe2434fdca25535dd86bf9b75287
app/views/search/_other_resources.html.erb
app/views/search/_other_resources.html.erb
<div class="wrap-notincluded grid-item region" data-region="Other resources"> <h2 class="title">What's not included?</h2> <p>Not everything we have at the Libraries appears in these search results - specialized sources like full-text business reports, images, or theses can best be found using other tools.</p> <h...
<div class="wrap-notincluded grid-item region" data-region="Other resources"> <h2 class="title">What's not included?</h2> <p>Not everything we have at the Libraries appears in these search results - specialized content like full-text business reports, images, and data can best be found using other tools.</p> <h3...
Update copy in _other_resources partial
Update copy in _other_resources partial Why these changes are being introduced: The copy in this partial references services that will no longer exist. Relevant ticket(s): * https://mitlibraries.atlassian.net/browse/IMP-2076 How this addresses that need: This updates the copy as specified by UX. Side effects of ...
HTML+ERB
apache-2.0
MITLibraries/bento,MITLibraries/bento,MITLibraries/bento,MITLibraries/bento
316225aef015ceb9470f92c35e740a191d61a7c7
app/views/content/notifications.html.erb
app/views/content/notifications.html.erb
<h2>Notifications</h2> <% @new_notifications.each do |notification| %> <div class="notification new"> <h2><%= link_to(notification.alertable.user.name, user_path(notification.alertable.user.name)) %> replied to your <%= notification.alerted.class.name %></h2> <%= render :partial => "comments/show", :locals => { :c...
<h2>Notifications</h2> <% @new_notifications.each do |notification| %> <div class="notification new"> <h2><%= link_to(notification.alertable.user.name, user_path(notification.alertable.user.name)) %> replied to your <%= notification.alerted.class.name %></h2> <%= render :partial => "comments/show", :locals => { co...
Revert "Fixed a couple of typos"
Revert "Fixed a couple of typos" This reverts commit df7890063c6909f19583c3139595db2645f9b5c1.
HTML+ERB
mit
8bitpal/hackful,8bitpal/hackful
332323b4c400c1090311355f0bcb8b2894d8851d
app/views/spree/devices/_device.html.erb
app/views/spree/devices/_device.html.erb
<ul class="nav nav-tabs"> <% @devices.each do |cur_device| %> <li class="<%= 'active' if device == cur_device %>"> <%= link_to cur_device.name, cur_device %> </li> <% end %> <li class="tab-right"> <%= link_to raw('<span class="glyphicon glyphicon-plus"></span> Activate Device'), activate_path %>...
<ul class="nav nav-tabs"> <% @devices.each do |cur_device| %> <li class="<%= 'active' if device == cur_device %>"> <%= link_to cur_device.name, cur_device %> </li> <% end %> <li class="tab-right"> <%= link_to raw('<span class="glyphicon glyphicon-plus"></span> Activate Device'), activate_path %>...
Move edit device link to tab bar.
Move edit device link to tab bar.
HTML+ERB
bsd-2-clause
brewbit/brewbit-dashboard,brewbit/brewbit-dashboard,brewbit/brewbit-dashboard
6895bb4de71cc4d444d5a399e99c44e0762d3067
app/views/layouts/application.html.erb
app/views/layouts/application.html.erb
<!DOCTYPE html> <html> <head> <title><%= yield :title %></title> <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %> <%= csrf_meta_tags %> </head> <body> <%= render 'layouts/header' %> <div class="container"> <% flash.each do |message_type, message| %> <div clas...
<!DOCTYPE html> <html> <head> <title><%= yield :title %></title> <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %> <%= csrf_meta_tags %> </head> <body> <%= render 'layouts/header' %> <div class="container"> <% flash.each do |key, value| %> ...
Clean Up Flash Code in Layout
Clean Up Flash Code in Layout
HTML+ERB
agpl-3.0
asm-products/mana-rails,asm-products/mana-rails
8bcfaae329c92516b2aed56f65ae24c65b6fa8b0
app/views/vitrage/pieces/show.html.erb
app/views/vitrage/pieces/show.html.erb
<%= render partial: "vitrage/#{@item.class.name.demodulize.underscore}", locals: { piece: @piece } %>
<%= render partial: "vitrage/#{@piece.class.name.demodulize.underscore}", locals: { piece: @piece } %>
Fix typo in variable name
Fix typo in variable name
HTML+ERB
mit
dymio/vitrage,dymio/vitrage,dymio/vitrage
369b4c859105ab3213d4cf7e10dfd2259d9975cb
app/views/items/show.html.erb
app/views/items/show.html.erb
<div class="item-show"> <div class="individual-item"> <h2><%= @item.name %></h2> <% if is_admin? %> <p><%= link_to 'Edit Item', edit_item_path %> | <%= link_to 'Delete Item', @item, method: :delete %> </p> <% end %> <% if !@item.image.blank? %> <img src="<%= @item.image %>" width="500" h...
<div class="item-show"> <div class="individual-item"> <h2><%= @item.name %></h2> <% if is_admin? %> <p><%= link_to 'Edit Item', edit_item_path %> | <%= link_to 'Delete Item', @item, method: :delete %> </p> <% end %> <% if !@item.image.blank? %> <img src="<%= @item.image %>" width="500" h...
Use number_to_currency helper to correctly display money values
Use number_to_currency helper to correctly display money values
HTML+ERB
mit
benjaminhyw/rails-online-shop,benjaminhyw/rails-online-shop,benjaminhyw/rails-online-shop
ca0cf567ee6acf36b4846d1b82c974e6316989cb
app/views/budgets/_total.html.erb
app/views/budgets/_total.html.erb
<% period = total -%> <td class="budget"><%=amount accounts.map {|account| account.budget_amount_in_period(period.year, period.month) }.compact.sum %></td> <td class="real"><%=amount accounts.map {|account| account.real_amount_in_period(period.year, period.month) }.compact.sum %></td>
<%- period = total budget_amount = accounts.map {|account| account.budget_amount_in_period(period.year, period.month) }.compact.sum real_amount = accounts.map {|account| account.real_amount_in_period(period.year, period.month) }.compact.sum class_name = " over" if real_amount > budget_amount -%> <td class="budg...
Apply the over class on the budget table when the real amount is larger than the budgeted amount.
Apply the over class on the budget table when the real amount is larger than the budgeted amount.
HTML+ERB
mit
francois/family_budget,francois/family_budget
dd39eb062e443871eb092c825b1b990249aae9a7
app/views/topics/_forum_topic.erb
app/views/topics/_forum_topic.erb
<tr class="forum-topic"> <td class="list-topic"> <%= forum_topic.title %><br/> <%= I18n.t("forums.author_by") %> <%= link_to forum_topic.author.nickname, "/" %> </td> <td class="list-replies numbercell">TODO</td> <td class="list-views numbercell">TODO</td> <td class="forumlastpost">TODO</td> </tr>
<tr class="forum-topic"> <td class="list-topic"> <%= forum_topic.title %><br/> <%= I18n.t("forums.author_by") %> <%= link_to forum_topic.author.nickname, "/" %> </td> <td class="list-replies numbercell"><%= forum_topic.posts.count %></td> <td class="list-views numbercell">TODO</td> <td class="forumlas...
Add info to forum view
Add info to forum view
HTML+ERB
agpl-3.0
Quintus/chessboard,Quintus/chessboard,Quintus/chessboard,Quintus/chessboard