codeigniter-scaffold 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/codeigniter-scaffold.gemspec +1 -1
- data/lib/resources/ci_2.1.2.zip +0 -0
- data/lib/resources/view_create.php +1 -1
- metadata +1 -1
data/lib/resources/ci_2.1.2.zip
CHANGED
Binary file
|
@@ -4,7 +4,7 @@
|
|
4
4
|
<input type="hidden" name="id" value="<?php echo isset($<%=@model.downcase%>)?$<%=@model.downcase%>->id:''?>"/>
|
5
5
|
<% @attributes.each { |f| %>
|
6
6
|
<p>
|
7
|
-
<label for="<%= f.name %>"><%= f.name %>:</label><br/><% if f.type == 'string' %>
|
7
|
+
<label for="<%= f.name %>"><%= f.name %>:</label><br/><% if f.type == 'string' or f.type == 'integer' %>
|
8
8
|
<input type="text" name="<%= f.name %>" value="<?php echo isset($<%=@model.downcase%>)?$<%=@model.downcase%>-><%= f.name %>:''?>"/><% end %>
|
9
9
|
<% if f.type == 'text' %>
|
10
10
|
<textarea name="<%= f.name %>"><?php echo isset($<%=@model.downcase%>)?$<%=@model.downcase%>-><%= f.name %>:''?></textarea><% end %>
|