mailr/app/views/common/_input_form_field.html.haml

9 lines
309 B
Plaintext
Raw Normal View History

2012-03-10 21:03:56 +01:00
.control-group
%label{:class=>"control-label",:for=>"#{attr}"}
= model.capitalize.constantize.human_attribute_name(attr)
.controls
2012-03-24 13:23:34 +01:00
%input{:type=>"text",:id=>"#{model}_#{attr}",:name=>"#{model}[#{attr}]"}
-#= render :partial => "common/input_form_field",:locals => { :model => 'user',:attr => 'login'}