OSDN Git Service

ソーシャル連携実装(merge from development2 branch)
[elecoma/elecoma.git] / app / views / admin / socials / _form.html.erb
1 <% content_for :head do %>
2   <%= javascript_include_tag "admin/social" %>
3 <% end %>
4
5 <%=h flash[:notice] %>
6 <%=h flash[:error] %>
7 <%= error_messages_for :social %>
8 <p class="req"><span class="pnt">※</span>は必須入力です</p>
9 <table cellspacing="1" cellpadding="0" class="data" >
10   <tr>
11     <th>google +1</th>
12     <td><%= check_box "social", "google" %></td>
13   </tr>
14   <tr>
15     <th>Twitter</th>
16     <td><%= check_box "social", "twitter", {:onclick => "changetwitter()", :id => "twitter"} %></td>
17   </tr>
18   <tr>
19     <th>Twitterおすすめアカウント(@抜き)</th>
20     <td><%= text_field "social", "twitter_user", :id => "twitter_user" %></td>
21   </tr>
22   <tr>
23     <th>Facebook</th>
24     <td><%= check_box "social", "facebook" %></td>
25   </tr>
26   <tr>
27     <th>GREE</th>
28     <td><%= check_box "social", "gree" %></td>
29   </tr>
30   <tr>
31     <th>Evernote</th>
32     <td><%= check_box "social", "evernote" %></td>
33   </tr>
34   <tr>
35     <th>はてなブックマーク</th>
36     <td><%= check_box "social", "hatena" %></td>
37   </tr>
38   <tr>
39     <th>mixi チェック</th>
40     <td><%= check_box "social", "mixi_check",{:onclick => "changemixi()", :id => "mixi_check"} %></td>
41   </tr>
42   <tr>
43     <th>mixi イイネ!</th>
44     <td><%= check_box "social", "mixi_like",{:onclick => "changemixi()", :id => "mixi_like"} %></td>
45   </tr>
46   <tr>
47     <th>mixi 説明文</th>
48     <td><%= text_field "social", "mixi_description", :id => "mixi_description" %></td>
49   </tr>
50   <tr>
51     <th>mixi チェックキー</th>
52     <td><%= text_field "social", "mixi_key", :id => "mixi_key" %></td>
53   </tr>
54 </table>
55 <div class="btn_box">
56   <%= submit_tag "この内容で登録する", :onclick => "return #{confirm_javascript_function("登録しても宜しいですか")}", :class=>"btn" %>
57   <%= image_tag("btn_side.gif", :width => "6", :height => "34", :class => "btn_side") %>
58 </div>