app/views/document_committee/new_document.html.haml
%h1 New #{params[:committee_type]} document
- if flash[:notice] and flash[:notice]!="Signed in successfully."
#flashNotice
= flash[:notice]
.container.well
= link_to subcommittee_index_path(params[:committee_type]), :class => "btn btn-info" do
%span.glyphicon.glyphicon-arrow-left
Back
%br
%br
= form_tag create_committee_document_path :method => :put do
.form-group
= label_tag :title, "Title: "
= text_area_tag 'title', nil, size: "60x1", placeholder: "Your title here", class: 'form-control'
.form-group
= label_tag :url, "URL: "
= text_area_tag 'url', nil, size: "60x1", placeholder: "Your URL here", class: 'form-control'
.form-group
= submit_tag 'Submit', :class => "btn btn-success"