21 lines
630 B
Plaintext
21 lines
630 B
Plaintext
|
= content_for :sidebar do
|
||
|
= render :partial => "sidebar/sidebar"
|
||
|
|
||
|
= content_for :title do
|
||
|
\-
|
||
|
= t(:contacts,:scope=>:contact)
|
||
|
|
||
|
= render :partial => 'common/main_navigation', :locals => { :contacts => :active }
|
||
|
|
||
|
.well{:style=>"padding: 5px 3pt;"}
|
||
|
%h3
|
||
|
= t(:modifying,:scope=>:contact)
|
||
|
|
||
|
%form{:class=>"form-horizontal",:action=>url_for(@contact),:method=>"post"}
|
||
|
%input{:name=>"_method",:type=>"hidden",:value=>"put"}
|
||
|
%fieldset
|
||
|
= render :partial => "attrs"
|
||
|
.control-group
|
||
|
.controls
|
||
|
= render :partial => "common/button",:locals => { :name=>:save, :caption => t(:save,:scope=>:common), :icon =>'icon-cog icon-white'}
|