sunrise-scaffold 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,18 @@
1
+ <div class="buttons">
2
+ <div class="back-but-bl">
3
+ <%%= link_to content_tag(:span, t('manage.menu.<%= plural_name %>')), manage_<%= parent_singular_name %>_<%= plural_name %>_path(@<%= parent_singular_name %>.id), :class=>"back" %>
4
+ </div>
5
+
6
+ <div class="act-bl">
7
+ <%%= link_to image_tag("manage/ico_edit.gif", :title=>t('manage.edit')), edit_manage_<%= parent_singular_name %>_<%= singular_name %>_path(@<%= parent_singular_name %>.id, <%= singular_name %>.id), :class=>"icons" %>
8
+
9
+ <%%= link_to image_tag("manage/ico_del.gif", :title=>t('manage.delete')), manage_<%= parent_singular_name %>_<%= singular_name %>_path(@<%= parent_singular_name %>.id, <%= singular_name %>.id), :method=>:delete, :confirm=>t("manage.confirm_delete"), :class=>"icons" %>
10
+ </div>
11
+ </div>
12
+
1
13
  <div class="edit-bl">
2
14
  <div class="bot-bg">
3
- <div class="block-title"><%%= @<%= singular_name %>.name %>:</div>
15
+ <div class="block-title"><%%= @<%= singular_name %>.title %>:</div>
4
16
  <div class="edit-cont">
5
17
  <table border="0" cellspacing="0" cellpadding="0" class="page-info">
6
18
  <tbody>
@@ -1,6 +1,18 @@
1
+ <div class="buttons">
2
+ <div class="back-but-bl">
3
+ <%%= link_to content_tag(:span, t('manage.menu.<%= plural_name %>')), manage_<%= plural_name %>_path, :class=>"back" %>
4
+ </div>
5
+
6
+ <div class="act-bl">
7
+ <%%= link_to image_tag("manage/ico_edit.gif", :title=>t('manage.edit')), edit_manage_<%= singular_name %>_path(:id=><%= singular_name %>.id), :class=>"icons" %>
8
+
9
+ <%%= link_to image_tag("manage/ico_del.gif", :title=>t('manage.delete')), manage_<%= singular_name %>_path(:id=><%= singular_name %>.id), :method=>:delete, :confirm=>t("manage.confirm_delete"), :class=>"icons" %>
10
+ </div>
11
+ </div>
12
+
1
13
  <div class="edit-bl">
2
14
  <div class="bot-bg">
3
- <div class="block-title"><%%= @<%= singular_name %>.name %>:</div>
15
+ <div class="block-title"><%%= @<%= singular_name %>.title %>:</div>
4
16
  <div class="edit-cont">
5
17
  <table border="0" cellspacing="0" cellpadding="0" class="page-info">
6
18
  <tbody>
@@ -1,4 +1,4 @@
1
1
  # encoding: utf-8
2
2
  module SunriseScaffold
3
- VERSION = "0.1.2".freeze
3
+ VERSION = "0.1.3".freeze
4
4
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sunrise-scaffold
3
3
  version: !ruby/object:Gem::Version
4
- hash: 31
4
+ hash: 29
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 2
10
- version: 0.1.2
9
+ - 3
10
+ version: 0.1.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Igor Galeta
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2011-05-23 00:00:00 +03:00
19
+ date: 2011-06-08 00:00:00 +03:00
20
20
  default_executable:
21
21
  dependencies: []
22
22