linting teh hamels
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
%h2 Something helpful later
|
||||
|
||||
%p= raw( ap @doc )
|
||||
%p= raw(ap @doc)
|
||||
|
||||
|
@ -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]
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user