linting teh hamels

This commit is contained in:
2015-10-03 08:57:06 -05:00
parent 8cdb204a94
commit c1f872e9a1
9 changed files with 57 additions and 36 deletions

View File

@ -1,4 +1,4 @@
%h2 Something helpful later
%p= raw( ap @doc )
%p= raw(ap @doc)

View File

@ -1,10 +1,10 @@
- unless flash.empty?
- if flash[:notice].present?
.alertbox.box-blue{'data-id' => 'alertbox', 'data-alert' => 'auto_close'}
.box-close{'data-id'=> 'alert_close'}
.alertbox.box-blue{ 'data-id' => 'alertbox', 'data-alert' => 'auto_close' }
.box-close{ 'data-id' => 'alert_close' }
= flash[:notice]
- if flash[:alert].present?
.alertbox.box-red{'data-id' => 'alertbox'}
.box-close{'data-id'=> 'alert_close'}
.alertbox.box-red{ 'data-id' => 'alertbox' }
.box-close{ 'data-id' => 'alert_close' }
%b= flash[:alert]

View File

@ -1,9 +1,9 @@
!!!
%html
%head
%meta{:content => "text/html; charset=UTF-8", "http-equiv" => "Content-Type"}/
%meta{ content: "text/html; charset=UTF-8", "http-equiv" => "Content-Type" }/
%title SmsPager
= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true
= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true
= javascript_include_tag 'application', 'data-turbolinks-track' => true
= csrf_meta_tags
= yield :custom_head

View File

@ -1,6 +1,8 @@
= form_for :page, url: send_page_path do |f|
= f.label :person_id
= f.select :person_id, options_from_collection_for_select(@people, :id, :name, @page.person_id), include_blank: true
:ruby
options = options_from_collection_for_select(@people, :id, :name, @page.person_id)
= f.select :person_id, options, include_blank: true
= f.label :to
= f.phone_field :to

View File

@ -9,7 +9,7 @@
- @parent.children.each do |child|
%li
= child.name
= link_to 'remove', del_parenthood_path(@parent, child), {method: :delete}
= link_to 'remove', del_parenthood_path(@parent, child), method: :delete
%p Add Child:
:ruby